lean2/tests/lean/implicit3.lean
Leonardo de Moura 7726ccad28 chore(builtin): rename nat, int and real modules to Nat, Int and Real.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-01 13:52:25 -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