2014-06-14 01:00:52 +00:00
|
|
|
namespace foo
|
|
|
|
definition f.{l} (A : Type.{l}) : Type.{l} := A
|
|
|
|
check f.{1}
|
2014-08-07 23:59:08 +00:00
|
|
|
end foo
|
2014-06-14 01:00:52 +00:00
|
|
|
|
2014-10-02 23:20:52 +00:00
|
|
|
constant N : Type.{1}
|
2014-06-14 01:00:52 +00:00
|
|
|
section
|
2014-10-09 14:13:06 +00:00
|
|
|
variable A : Type
|
2014-06-14 01:00:52 +00:00
|
|
|
definition g (a : A) (B : Type) : A := a
|
2014-10-01 17:23:05 +00:00
|
|
|
check g.{_ 2}
|
2014-06-14 01:00:52 +00:00
|
|
|
end
|
|
|
|
check g.{2 3}
|