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

Re: Shorthand procedures?

This page is part of the web mail archives of SRFI 44 from before July 7th, 2015. The new archives for SRFI 44 contain all messages, not just those from before July 7th, 2015.

On Mon, Jul 28, 2003 at 11:12:53AM -0700, Jim White wrote:
> scgmille@xxxxxxxxxxxxxxxxxx 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.


Attachment: pgpqm9bj81fZT.pgp
Description: PGP signature