lean2/tests/lean/run/t4.lean

12 lines
215 B
Text

namespace foo
definition f.{l} (A : Type.{l}) : Type.{l} := A
check f.{1}
end foo
variable N : Type.{1}
section
parameter A : Type
definition g (a : A) (B : Type) : A := a
check g.{_ 2}
end
check g.{2 3}