Library Ssreflect.ssrmatching

Declare ML Module "ssreflect".

Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.

Module SsrMatchingSyntax.

Reserved Notation "( a 'in' b )" (at level 0).
Reserved Notation "( a 'as' b )" (at level 0).
Reserved Notation "( a 'in' b 'in' c )" (at level 0).
Reserved Notation "( a 'as' b 'in' c )" (at level 0).

Notation "( X 'in' t )" := (_ : fun Xt) : ssrpatternscope.
Delimit Scope ssrpatternscope with pattern.

Notation RHS := (X in _ = X)%pattern.
Notation LHS := (X in X = _)%pattern.

End SsrMatchingSyntax.

Export SsrMatchingSyntax.