Skip to content

Commit 688a138

Browse files
committed
Ssreflect.v: drop a cast notation useless since 8.5 (see #6078 for discussion).
1 parent 0d81e80 commit 688a138

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

plugins/ssr/ssreflect.v

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,6 @@ Open Scope boolean_if_scope.
126126
Delimit Scope form_scope with FORM.
127127
Open Scope form_scope.
128128

129-
(* Allow overloading of the cast (x : T) syntax, put whitespace around the *)
130-
(* ":" symbol to avoid lexical clashes (and for consistency with the parsing *)
131-
(* precedence of the notation, which binds less tightly than application), *)
132-
(* and put printing boxes that print the type of a long definition on a *)
133-
(* separate line rather than force-fit it at the right margin. *)
134-
Notation "x : T" := (x : T)
135-
(at level 100, right associativity,
136-
format "'[hv' x '/ ' : T ']'") : core_scope.
137-
138129
(* Allow the casual use of notations like nat * nat for explicit Type *)
139130
(* declarations. Note that (nat * nat : Type) is NOT equivalent to *)
140131
(* (nat * nat)%type, whose inferred type is legacy type "Set". *)

0 commit comments

Comments
 (0)