lean4-htt/old_tests/tests/lean/notation_error_pos.lean
2018-04-10 12:56:55 -07:00

12 lines
170 B
Text

notation `foo` := "a" + 1
notation `bla` a := a + 1
notation `boo` a := 1 + a
notation `cmd` a := λ x, x + a
#check foo
#check bla "a"
#check boo "a"
#check cmd "b"