lean2/tests/lean/implicit6.lean
Leonardo de Moura 08718e33dc refactor(builtin): only load the kernel and natural numbers by default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 13:35:37 -08:00

11 lines
217 B
Text

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