Re: Shorthand procedures?
scgmille@xxxxxx 28 Jul 2003 18:52 UTC
On Mon, Jul 28, 2003 at 11:12:53AM -0700, Jim White wrote:
> xxxxxx@freenetproject.org wrote:
> >First, if we are to use collection-fold-keys-increasing, it makes sense
> >that collection-fold-left is renamed to collection-fold-increasing as
> >well.
> >
> >Second, Is there any objection to adding the procedures collection-fold
> >and collection-fold-keys as synonyms for collection-fold-increasing and
> >collection-fold-keys-increasing respectively?
>
> I'm skeptical of both changes. The fold concept is spatial (thus
> addressing unordered collections) and increasing/decreasing is
> explicitly ordered.
I agree actually.
>
> And what about ordered vs unordered key enumeration? Are you really
> saying ordered key enumeration is the only option?
No. Again arguing for left and right fold, which are more vague but
more flexible.
Scott