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

Re: Question about collections



I don't know if this helps but...

neelk@brick.cswv.com (Neel Krishnaswami) writes:
>
> Does stretchines mean that size can change without losing object
> identity, or is it something else? I'm guessing the latter from the
> fact that <list> isn't a <stretchy-collection>, but I'm honestly not
> sure.

Chapter 8 (Collections) of the DRM describes <mutable-collection> and
<stretchy-collection> as:

  "Instances of <mutable-collection> can have their elements changed
  after they are created. Instances of <stretchy- collection> can have
  keys added and removed after they are created."

> (On a side note, is the type-for-copy generic documented anywhere?)

Chapter 12 (The Built-In Functions) of the DRM describes
type-for-copy.

Chris.
--
http://www.double.co.nz/dylan



Follow-Ups: References: