2013-09-01 21:52:17 +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
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption lean::pp::notation false
|
2014-01-05 19:03:35 +00:00
|
|
|
print true ++ false ++ true
|
2013-09-01 21:52:17 +00:00
|
|
|
Variable a : N
|
|
|
|
Variable b : N
|
2014-01-05 19:03:35 +00:00
|
|
|
print a ++ b ++ a
|
|
|
|
print true ++ false ++ false
|