Skip to content
Snippets Groups Projects

Allow pattern and type annotations in propset notation

Merged Thibaut Pérami requested to merge tperami/stdpp:propsetbinder into master
All threads resolved!
3 files
+ 11
1
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -7,7 +7,7 @@ Add Printing Constructor propset.
Global Arguments PropSet {_} _ : assert.
Global Arguments propset_car {_} _ _ : assert.
Notation "{[ x | P ]}" := (PropSet (λ x, P))
(at level 1, format "{[ x | P ]}") : stdpp_scope.
(at level 1, x at level 200 as pattern, format "{[ x | P ]}") : stdpp_scope.
Global Instance propset_elem_of {A} : ElemOf A (propset A) := λ x X, propset_car X x.
Loading