lean2/tests/lean/bad2.lean
Leonardo de Moura 02c22e509d fix(tests/lean): remove obsolete comments
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-24 20:16:02 -07:00

12 lines
No EOL
386 B
Text

Variable list : Type -> Type
Variable nil {A : Type} : list A
Variable cons {A : Type} (head : A) (tail : list A) : list A
Definition n1 : list Int := cons (nat_to_int 10) nil
Definition n2 : list Nat := cons 10 nil
Definition n3 : list Int := cons 10 nil
Definition n4 : list Int := nil
Definition n5 : _ := cons 10 nil
Set pp::coercion true
Set pp::implicit true
Show Environment 1.