Re:Ask HN: Is functional programming really worth it?
by boryas on Sunday March 14, 2010 @08:10PM
(#1191639)
With regards to List.map:
List.rev_map is also in the standard library and is tail-recursive, so you can just do List.rev(List.rev_map l) to tail recursively map. Just had to defend Ocaml a little :)
[ Parent
| on HN ]
There are no comments on this comment yet.