22 lines
265 B
Text
22 lines
265 B
Text
universe variable u
|
|
section
|
|
parameter (A : Type u)
|
|
|
|
definition f : A → A :=
|
|
λ x, x
|
|
|
|
check f
|
|
check f (0:nat) -- error
|
|
|
|
parameter {A}
|
|
|
|
definition g : A → A :=
|
|
λ x, x
|
|
|
|
check g
|
|
check g (0:nat) -- error
|
|
end
|
|
|
|
check f
|
|
check f _ (0:nat)
|
|
check g 0
|