lean4-htt/tests/lean/extra/eqn_macro1.lean
2016-07-09 14:03:05 -07:00

10 lines
131 B
Text

open nat
notation `foo` a :=
match a with
(c, d) := c + (d:nat)
end
eval foo (2, 3)
notation `bla` a `with` H := a ↓ H