08718e33dc
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
13 lines
No EOL
410 B
Text
13 lines
No EOL
410 B
Text
Import int.
|
|
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
|
|
|
|
SetOption pp::coercion true
|
|
SetOption pp::implicit true
|
|
Show Environment 1. |