lean2/tests/lean/implicit6.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
225 B
Text

import Int.
variable f {A : Type} : A -> A -> A
infixl 65 + : f
print true + false
print 10 + 20
print 10 + (- 20)
set_option pp::notation false
set_option pp::coercion true
print true + false
print 10 + 20
print 10 + (- 20)