lean2/tests/lean/overload1.lean
Leonardo de Moura dd72269b13 feat(frontends/lean): rename command Set to SetOption
It is not nice to have Set as a reserved keyword. See example examples/lean/set.lean

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-18 21:18:48 -08:00

12 lines
No EOL
274 B
Text

Variable N : Type
Variable f : Bool -> Bool -> Bool
Variable g : N -> N -> N
Infixl 10 ++ : f
Infixl 10 ++ : g
Show true ++ false ++ true
SetOption lean::pp::notation false
Show true ++ false ++ true
Variable a : N
Variable b : N
Show a ++ b ++ a
Show true ++ false ++ false