lean4-htt/tests/lean/structAutoBound.lean

20 lines
314 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

structure Foo (β : α → Type v) where
a : α
b : β a
#print Foo
variable (α : Type u)
structure Bla.{u} /- Error, `u` already declared -/ where
a : α
structure Boo (β : Type v) where
a : α
b : β
#print Boo
structure Boo2.{w /- Error, `w` not used -/} (β : Type v) where
a : α
b : β