From 2525c33691e25f837b7dca31d4c702199b3dbc5d Mon Sep 17 00:00:00 2001 From: Jasper Hugunin Date: Sun, 4 Mar 2018 16:57:06 -0800 Subject: Change deprecated Arguments Scope to Arguments --- mathcomp/ssreflect/eqtype.v | 2 +- mathcomp/ssreflect/finset.v | 2 +- mathcomp/ssreflect/seq.v | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mathcomp/ssreflect') diff --git a/mathcomp/ssreflect/eqtype.v b/mathcomp/ssreflect/eqtype.v index 9772b84..159c00e 100644 --- a/mathcomp/ssreflect/eqtype.v +++ b/mathcomp/ssreflect/eqtype.v @@ -436,7 +436,7 @@ Notation "x |-> y" := (FunDelta x y) format "'[hv' x '/ ' |-> y ']'") : fun_delta_scope. Delimit Scope fun_delta_scope with FUN_DELTA. -Arguments Scope app_fdelta [_ type_scope fun_delta_scope _ _]. +Arguments app_fdelta _ _%type _%FUN_DELTA _ _. Notation "[ 'fun' z : T => F 'with' d1 , .. , dn ]" := (SimplFunDelta (fun z : T => diff --git a/mathcomp/ssreflect/finset.v b/mathcomp/ssreflect/finset.v index 3f99e9f..4ff769e 100644 --- a/mathcomp/ssreflect/finset.v +++ b/mathcomp/ssreflect/finset.v @@ -130,7 +130,7 @@ Delimit Scope set_scope with SET. Bind Scope set_scope with set_type. Bind Scope set_scope with set_of. Open Scope set_scope. -Arguments Scope finfun_of_set [_ set_scope]. +Arguments finfun_of_set _ _%SET. Notation "{ 'set' T }" := (set_of (Phant T)) (at level 0, format "{ 'set' T }") : type_scope. diff --git a/mathcomp/ssreflect/seq.v b/mathcomp/ssreflect/seq.v index a562879..4de8af0 100644 --- a/mathcomp/ssreflect/seq.v +++ b/mathcomp/ssreflect/seq.v @@ -169,7 +169,7 @@ Notation Cons T := (@cons T) (only parsing). Notation Nil T := (@nil T) (only parsing). Bind Scope seq_scope with list. -Arguments Scope cons [type_scope _ seq_scope]. +Arguments cons _%type _ _%SEQ. (* As :: and ++ are (improperly) declared in Init.datatypes, we only rebind *) (* them here. *) -- cgit v1.2.3