lean2/tests/lean/implicit3.lean
Leonardo de Moura 57c0006916 chore(*): cleanup lean builtin symbols, replace :: with _
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-09 08:33:52 -08:00

11 lines
238 B
Text

import Int.
print 10 = 20
variable f : Int -> Int -> Int
variable g : Int -> Int -> Int -> Int
notation 10 _ ++ _ : f
notation 10 _ ++ _ : g
set_option pp::implicit true
set_option pp::notation false
print (10 ++ 20)
print (10 ++ 20) 10