[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why Single Inheritance Restriction?

This page is part of the web mail archives of SRFI 76 from before July 7th, 2015. The new archives for SRFI 76 contain all messages, not just those from before July 7th, 2015.

   From: Michael Sperber <sperber@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
   Cc: srfi-76@xxxxxxxxxxxxxxxxx

   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?