lean4-htt/tests/lean/notation_error_pos.lean
2017-03-09 18:41:19 -08: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"