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
|
|
|
|
parameter A : Type
|
|
|
|
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}
|