Shorthand procedures? scgmille@xxxxxx (28 Jul 2003 15:29 UTC)
Re: Shorthand procedures? Jim White (28 Jul 2003 18:11 UTC)
Re: Shorthand procedures? scgmille@xxxxxx (28 Jul 2003 19:37 UTC)
Re: Shorthand procedures? Jim White (28 Jul 2003 18:22 UTC)
Re: Shorthand procedures? scgmille@xxxxxx (28 Jul 2003 18:55 UTC)
Re: Shorthand procedures? Jim White (29 Jul 2003 00:52 UTC)
Re: Shorthand procedures? scgmille@xxxxxx (29 Jul 2003 03:11 UTC)

Re: Shorthand procedures? Jim White 28 Jul 2003 18:23 UTC

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 have a second thought that addresses my concerns:

collection-fold[-keys]-left and collection-fold[-keys]-right are not
specified with regard to the order of enumeration.   For unordered
collections, collection-fold-right the implementation may either raise
an error or provide an enumeration in reverse order or collection-fold-left.

collection-fold[-keys]-increasing and collection-fold[-keys]-decreasing
are specified to be an ordered enumeration and are only defined for
ordered collections.

Jim
--
"I love deadlines. I love the whooshing sound they make as they fly by."
-- Douglas Adams