I wanted to have a tail-recursive version of List.map, so I wrote my own.Here it is: let rec list_map f l ?(accum=[])=
I\'m currently working on cleaning up an API full of fu开发者_运维百科nction templates, and had a strong desire to write the following code.