lean2/tests/lean/run/atomic_notation.lean

7 lines
113 B
Text
Raw Normal View History

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