lean2/tests/lean/notation6.lean

10 lines
134 B
Text
Raw Normal View History

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