lean2/tests/lean/run/t4.lean
Leonardo de Moura 48c58af9b5 feat(frontends/lean/parser): allow explicit universe level to be provided to aliases and locals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-13 18:00:52 -07:00

13 lines
210 B
Text

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