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-05 20:05:08 +00:00
|
|
|
setoption 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
|