lean4-htt/old_tests/tests/lean/run/record4.lean
2018-04-10 12:56:55 -07:00

8 lines
185 B
Text

structure point (A : Type) (B : Type) :=
mk :: (x : A) (y : B)
inductive color
| red | green | blue
structure color_point (A : Type) (B : Type) extends point A B :=
mk :: (c : color)