2015-02-23 23:28:43 +00:00
|
|
|
variable (A : Type)
|
|
|
|
|
|
|
|
structure foo (a : A) :=
|
|
|
|
(eqpr : a = a)
|
|
|
|
|
2015-04-22 02:33:21 +00:00
|
|
|
section
|
2015-02-23 23:28:43 +00:00
|
|
|
parameter (B : Type)
|
|
|
|
|
|
|
|
structure foo2 (b : B) :=
|
|
|
|
(eqpr : b = b)
|
|
|
|
|
|
|
|
check foo2
|
|
|
|
|
|
|
|
definition tst : B → Type₁ := foo2
|
|
|
|
end
|