Hi Alex

The diagram you produced makes a very nice and succinct reference...

                   Whole list     Only CAR
      ----------+-------------+-----------
      No result |     map     |    mapc
                |             |
      append    |    maplist  |   mapcar
                |             |
      concat    |    mapcon   |   mapcan

Thanks again
Srini

----- Original Message -----
> From: Thorsten Jolitz <tjol...@gmail.com>
> To: picolisp@software-lab.de
> Sent: Monday, July 28, 2014 4:03:59 PM

>> Alexander Burger <a...@software-lab.de> writes:

>>> I am often confused between the variants of the map functions: map,
>>> mapc, mapcar, mapcan, mapcon, maplist.

>> Yes, indeed. The names of these 6 functions are historic, they are in
>> most Lisp variants since early on.


[...]

>> I hope this clears things up a little.

> Thanks for this nice and short explanation, I'm sure I will use this
> post as a reference in the future. 

[Srini] Yes, for me also...


> -- 
> cheers,
> Thorsten

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to