lean2/tests/lean/overload1.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

12 lines
No EOL
279 B
Text

variable N : Type
variable f : Bool -> Bool -> Bool
variable g : N -> N -> N
infixl 10 ++ : f
infixl 10 ++ : g
print true ++ false ++ true
set_option lean::pp::notation false
print true ++ false ++ true
variable a : N
variable b : N
print a ++ b ++ a
print true ++ false ++ false