lean2/tests/lean/implicit3.lean
Leonardo de Moura abe2cf2fb5 feat(frontends/lean): simplify how implicit parameters are marked
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-10 12:11:04 -08:00

9 lines
208 B
Text

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