*-clear![!] operator scgmille@xxxxxx (21 Aug 2003 03:54 UTC)
Re: *-clear![!] operator Matthias Radestock (21 Aug 2003 07:18 UTC)
Re: *-clear![!] operator scgmille@xxxxxx (21 Aug 2003 12:35 UTC)

Re: *-clear![!] operator Matthias Radestock 21 Aug 2003 07:15 UTC

xxxxxx@freenetproject.org 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.

Matthias.