lean2/tests/lean/run/record7.lean

10 lines
174 B
Text
Raw Normal View History

import logic data.unit
structure point (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
structure point2 (A : Type) (B : Type) extends point A B :=
make
print prefix point2