lean2/tests/lean/run/atomic_notation.lean

6 lines
113 B
Text

import logic data.num
open num
constant f : num → num
notation `o`:1 := (10:num)
check o + 1
check f o + o + o