lean2/tests/lean/ex3.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
235 B
Text

Variable myeq : Pi (A : Type), A -> A -> Bool
print myeq _ true false
Variable T : Type
Variable a : T
Check myeq _ true a
Variable myeq2 {A:Type} (a b : A) : Bool
Infix 50 === : myeq2
SetOption lean::pp::implicit true
Check true === a