Skip to content

Commit

Permalink
The "( X in t )" hack used in the syntax of ssr rewrite may be only p…
Browse files Browse the repository at this point in the history
…arsing.

This is the only notation to date which breaks the heuristics of
prefering the more precise notations for printing (see #12986).
  • Loading branch information
herbelin committed Nov 6, 2020
1 parent d276a49 commit c470b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theories/ssrmatching/ssrmatching.v
Expand Up @@ -25,7 +25,7 @@ Declare Scope ssrpatternscope.
Delimit Scope ssrpatternscope with pattern.

(* Notation to define shortcuts for the "X in t" part of a pattern. *)
Notation "( X 'in' t )" := (_ : fun X => t) : ssrpatternscope.
Notation "( X 'in' t )" := (_ : fun X => t) (only parsing) : ssrpatternscope.

(* Some shortcuts for recurrent "X in t" parts. *)
Notation RHS := (X in _ = X)%pattern.
Expand Down

0 comments on commit c470b92

Please sign in to comment.