12 lines
No EOL
278 B
Text
12 lines
No EOL
278 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
|
|
SetOption lean::pp::notation false
|
|
print true ++ false ++ true
|
|
Variable a : N
|
|
Variable b : N
|
|
print a ++ b ++ a
|
|
print true ++ false ++ false |