lean2/tests/lean/run/atomic_notation.lean

6 lines
107 B
Text

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