diff options
| author | Enrico | 2018-03-20 22:23:39 +0100 |
|---|---|---|
| committer | GitHub | 2018-03-20 22:23:39 +0100 |
| commit | ae8e96a37644a4d1cded1b13acf031d1325b68b4 (patch) | |
| tree | 12b1367edce028767f8e9ebea319b7788705ae64 /mathcomp/ssreflect | |
| parent | 3d59940ff4601713e8395f6b7e5c525501183731 (diff) | |
| parent | 2525c33691e25f837b7dca31d4c702199b3dbc5d (diff) | |
Merge pull request #185 from jashug/deprecate-arguments-scope
Change deprecated Arguments Scope to Arguments
Diffstat (limited to 'mathcomp/ssreflect')
| -rw-r--r-- | mathcomp/ssreflect/eqtype.v | 2 | ||||
| -rw-r--r-- | mathcomp/ssreflect/finset.v | 2 | ||||
| -rw-r--r-- | mathcomp/ssreflect/seq.v | 2 |
3 files changed, 3 insertions, 3 deletions
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 c1bf999..4347983 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. *) |
