Open steelbrain opened 9 years ago
This seems like it should be a class.
Yeah, it's a current limitation of shapes that they can't be recursively defined in any way. Another possibility where this could be useful is
type a = shape(
'foo' => ?a,
// ...
);