lean4-htt/old_tests/tests/lean/extra/eqn_macro1.lean
2018-04-10 12:56:55 -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