[plt-scheme] help with higher order functions

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Mar 18 12:17:07 EDT 2009

Yes. (My foldr was a step toward typing it with the new ... types but  
that didn't work.)


On Mar 18, 2009, at 11:43 AM, Grant Rettke wrote:

> On Wed, Mar 18, 2009 at 9:42 AM, Todd O'Bryan  
> <toddobryan at gmail.com> wrote:
>> What is the proper Scheme idiom to write this function?
>
> I am not sure the scope of proper to which you refer but are you
> looking for something like this:
>
> (map + '(1 1 1) '(1 1 1))
>
> => (2 2 2)
>
> or more?
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.