[plt-scheme] Re: [library doc bug?]combinators.plt/doc.txt curry yrruc same def

From: Larry Evans (cppljevans at suddenlink.net)
Date: Tue Jun 24 11:15:01 EDT 2008

On 06/24/08 09:46, Carl Eastlund wrote:
> On Tue, Jun 24, 2008 at 10:48 AM, Larry Evans <cppljevans at suddenlink.net> wrote:
>>> http://planet.plt-scheme.org/package-source/cce/combinators.plt/1/4/doc.txt
>> has the same definition for curry and yrruc.
[snip]
> The 'yrruc' function appends the argument lists in the opposite order
> (although it does not reverse the order of the individual arguments in
> each list).
> 
> For instance:
> ((curry list 1 2) 3 4) = (list 1 2 3 4)
> ((yrruc list 1 2) 3 4) = (list 3 4 1 2)

OOPS.  I misread the docs which clearly reflect this.  I just
missed the different placement of 'initial' and 'final' and
the reversal of 'arg' and 'more' on the rhs'.
Sorry about that.  The example you provide above
makes it easy to see. Thanks.



Posted on the users mailing list.