lean2/tests/lean/arith3.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

9 lines
No EOL
159 B
Text

Eval 8 mod 3
Eval 8 div 4
Eval 7 div 3
Eval 7 mod 3
Show -8 mod 3
SetOption lean::pp::notation false
Show -8 mod 3
Eval -8 mod 3
Eval (-8 div 3)*3 + (-8 mod 3)