lean2/tests/lean/parsing_only.lean

9 lines
199 B
Text

import logic
constant f : num → num
constant g : num → num
notation a `+++` := f a
notation [parsing_only] a `***` := g a
check 10 +++
check 10 ***
check Type.{8} -- Type₊ should not be used