2014-01-05 20:05:08 +00:00
|
|
|
variable N : Type
|
|
|
|
variable f : Bool -> Bool -> Bool
|
|
|
|
variable g : N -> N -> N
|
|
|
|
infixl 10 ++ : f
|
|
|
|
infixl 10 ++ : g
|
2014-01-05 19:03:35 +00:00
|
|
|
print true ++ false ++ true
|
2014-01-09 16:33:52 +00:00
|
|
|
set_option lean::pp::notation false
|
2014-01-05 19:03:35 +00:00
|
|
|
print true ++ false ++ true
|
2014-01-05 20:05:08 +00:00
|
|
|
variable a : N
|
|
|
|
variable b : N
|
2014-01-05 19:03:35 +00:00
|
|
|
print a ++ b ++ a
|
|
|
|
print true ++ false ++ false
|