2014-01-05 20:05:08 +00:00
|
|
|
import Int
|
|
|
|
check fun (A : Type) (a : A),
|
2013-08-31 21:25:27 +00:00
|
|
|
let b := a
|
|
|
|
in b
|
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
variable g : Pi A : Type, A -> A
|
2013-08-31 21:25:27 +00:00
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
definition f (A: Type) (a : A) : A :=
|
2013-08-31 21:25:27 +00:00
|
|
|
let b := g A a,
|
|
|
|
c := g A b
|
|
|
|
in c
|
2013-09-03 21:51:34 +00:00
|
|
|
|
2014-01-05 19:03:35 +00:00
|
|
|
print f _ 10.
|
|
|
|
print f _ (- 10).
|