lean2/tests/lean/let3.lean
Leonardo de Moura 9f08156a73 feat(frontends/lean/parser): combine Echo and Show commands into the 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 11:03:35 -08:00

9 lines
No EOL
176 B
Text

Import Int.
Variable magic : Pi (H : Bool), H
SetOption pp::notation false
SetOption pp::coercion true
print let a : Int := 1,
H : a > 0 := magic (a > 0)
in H