lean2/tests/lean/parsing_only.lean

10 lines
199 B
Text
Raw Permalink Normal View History

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