2013-12-30 21:35:37 +00:00
|
|
|
Import real.
|
2013-12-10 17:48:24 +00:00
|
|
|
Variable f {A : Type} (x y : A) : A
|
|
|
|
Check f 10 20
|
|
|
|
Check f 10
|
2013-12-22 01:02:16 +00:00
|
|
|
Check @f
|
2013-12-10 17:48:24 +00:00
|
|
|
Variable g {A : Type} (x1 x2 : A) {B : Type} (y1 y2 : B) : B
|
|
|
|
Check g 10 20 true
|
|
|
|
Check let r : Real -> Real -> Real := g 10 20
|
|
|
|
in r
|
|
|
|
Check g 10
|
2013-12-19 05:18:45 +00:00
|
|
|
SetOption pp::implicit true
|
2013-12-10 17:48:24 +00:00
|
|
|
Check let r : Real -> Real -> Real := g 10 20
|
|
|
|
in r
|