| From: =?ISO-8859-1?Q?Far=E9?= <[email protected]> | Date: Thu, 24 Sep 2009 11:48:38 -0400 | | ... | In short, instead of arguing whether this or that datastructure | with its accompanying flurry of associated (de)constructors should | be in the standard, I'd like to see some discussion about what kind | of datastructure abstraction should or shouldn't be in the | standard. The default answer of "no abstraction" would be quite | disappointing, as it would means more jungle and more macheting | through it (or avoiding to step into it).
SRFI-63 provides a small set of accessors which apply to all types of homogeneous and heterogeneous arrays, vectors, and strings. MAKE-ARRAY is devised to portably support all the homogeneous array types, whether the underlying implementation supports them or not. The SRFI-63 accessors could also be made to work for lists, but those would not have O(1) access times. _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
