Now, `universe` may declare many universes. The goal is to make it consistent with the `variable` command
13 lines
273 B
Text
13 lines
273 B
Text
--
|
||
|
||
variable (y : Nat)
|
||
|
||
def f.{u} (x : Nat) : Nat := -- error unused universe parameter 'u'
|
||
x
|
||
|
||
universe u
|
||
|
||
def f.{v, w} (α : Type v) (a : α) : α := -- error unused universe parameter 'w'
|
||
a
|
||
|
||
axiom f.{w} (α : Type u) (a : α) : α -- error unused universe parameter 'w'
|