In the standard library, we should use explicit universe variables for universe polymorphic definitions. Users that want to declare universe polymorphic definitions but do not want to provide universe level parameters should use Type _ or Type*
4 lines
220 B
Text
4 lines
220 B
Text
foo1 : Π {A : Type u_1} {B : Type u_2}, A → B → A
|
|
foo2 : Π {A : Type u_1} (B : Type u_2), A → B → A
|
|
foo3 : Π (A : Type u_1) {B : Type u_2}, A → B → A
|
|
foo4 : Π (A : Type u_1) (B : Type u_2), A → B → A
|