Providing features through the storage class John Cowan (30 Jul 2015 01:48 UTC)
Re: Providing features through the storage class Bradley Lucier (31 Jul 2015 21:39 UTC)
Re: Providing features through the storage class John Cowan (01 Aug 2015 03:31 UTC)
Re: Providing features through the storage class Bradley Lucier (19 Sep 2015 21:53 UTC)
Re: Providing features through the storage class John Cowan (19 Sep 2015 22:38 UTC)

Providing features through the storage class John Cowan 29 Jul 2015 21:45 UTC

(I'm using my suggested terminology here.)

Being a rectangular array should be orthogonal to being a mutable array,
which should be orthogonal to being a safe array.  These effects can be
accomplished by allowing the setter and checker of a storage class to
be #f rather than a procedure, making the array immutable and unsafe
respectively.  Furthermore, allow the generalized array creator to
take an optional setter as well as a domain and a getter.  In that way,
we wind up with arrays and a single subtype, rectangular arrays.

In addition, a standardized sparse-storage-class would be a Good Thing.
This would use a hash table or similar object as its backing store.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
There are three kinds of people in the world:
those who can count, and those who can't.
To unsubscribe from this list please goto http://www.simplelists.com/confirm.php?u=pdvfNHNthaIEnEE0PiaBy19L7i2YkVFQ