lean2/tests/lean/implicit3.lean
Leonardo de Moura 08718e33dc refactor(builtin): only load the kernel and natural numbers by default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 13:35:37 -08:00

11 lines
233 B
Text

Import int.
Show 10 = 20
Variable f : Int -> Int -> Int
Variable g : Int -> Int -> Int -> Int
Notation 10 _ ++ _ : f
Notation 10 _ ++ _ : g
SetOption pp::implicit true
SetOption pp::notation false
Show (10 ++ 20)
Show (10 ++ 20) 10