Map (higher-order function): Difference between revisions

Content deleted Content added
Mtzguido (talk | contribs)
Remove citation needed for blatantly obvious fact, implied by section above.
Mtzguido (talk | contribs)
Line 95:
</syntaxhighlight>
 
Since reversing a singly linked list is also tail-recursive, reverse and reverse-map can be composed to perform normal map in a tail-recursive way, though it requires performing two passes over the list.
 
==Language comparison==