[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why Single Inheritance Restriction?
From: Michael Sperber <sperber@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Richard Kelsey <kelsey@xxxxxxx> writes:
> In some particular order?
No---at least the current draft doesn't specify one, keeping with
Scheme's tradition here.
Actually, it does give an order. "Parent init expressions, if any,
are evaluated before child init expressions."
> What are the semantics of a partially initialized record?
I don't think there's a way to get one.
It depends on whether or not the 'init' expressions count
as initializing the records.
By the way, in what context are the <constructor argument>s in
(parent <parent name> <constructor argument> *)
evaluated? Specifically, do they have any access to the values
passed to the subtype constructor?