lean4-htt/tests/lean/implicit6.lean
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -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)