lean2/tests/lean/arith1.lean.expected.out
Leonardo de Moura bff5a6bfb2 fix(frontends/lean/pp): make sure pp and parser are using the same precedences
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-19 12:46:14 -08:00

19 lines
383 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
10 + 20 :
10 :
10 - 20 :
-10
5
15 + 10 - 20 :
Assumed: x
Assumed: n
Assumed: m
n + m
n + x + m
Set: lean::pp::coercion
nat_to_int n + x + nat_to_int m + nat_to_int 10
x + nat_to_int n + nat_to_int m + nat_to_int 10
nat_to_int (n + m + 10) + x
Set: lean::pp::notation
Int::add (nat_to_int (Nat::add (Nat::add n m) 10)) x