lean2/tests/lean/implicit6.lean
Leonardo de Moura 9f08156a73 feat(frontends/lean/parser): combine Echo and Show commands into the 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 11:03:35 -08:00

11 lines
223 B
Text

Import Int.
Variable f {A : Type} : A -> A -> A
Infixl 65 + : f
print true + false
print 10 + 20
print 10 + (- 20)
SetOption pp::notation false
SetOption pp::coercion true
print true + false
print 10 + 20
print 10 + (- 20)