lean4-htt/tests/lean/notationPrecheck.lean
2022-03-29 10:50:11 +02:00

13 lines
254 B
Text

notation "a" => fun x => a
syntax "b" term : term
notation "c" => b x
set_option quotPrecheck false in
notation "d" => b x
#check d
infix:10 " ∧ " => and
set_option pp.raw true
notation "foo" => fun x y => x ∧ y
notation "bar" => fun x => x ∧ y