lean2/tests/lean/struct_class.lean

10 lines
166 B
Text
Raw Normal View History

structure point [class] (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
print classes
structure point2 (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
print classes