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

Re: *-clear![!] operator

On Thu, Aug 21, 2003 at 08:15:56AM +0100, Matthias Radestock wrote:
> scgmille@xxxxxxxxxxxxxxxxxx wrote:
> >This is missing from the spec.  A functional version of clear isn't 
> >necessary, as it would be equivalent to constructing a new, empty 
> >collection.
> The result is equivalent but the invocation isn't: constructing a new 
> collection requires knowledge of the collection type; calling clear 
> doesn't. For that reason, and for sake of uniformity, there should be a 
> functional version of clear.

Ah yes.  Excellent point.


Attachment: pgpdt6jm5moEO.pgp
Description: PGP signature