[plt-scheme] help with higher order functions

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Mar 18 16:09:54 EDT 2009

All useful functions: +, /, -, ... and map, foldr, etc come in this  
shape. That's what my comment implied.


On Mar 18, 2009, at 4:05 PM, Todd O'Bryan wrote:

> Aha! The version of map introduced in HtDP doesn't mention that you
> can use multiple lists. I knew there must be some standard way to do
> it...
>
>> 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.