4 ms·
> you can't add any additional information Well you could... map transforming_function (element:rest_of_list) = transforming_function element : map transf
by chalst 7y ago
> you can't add any additional information
Well you could...
map transforming_function (element:rest_of_list) = transforming_function element : map transforming_function rest_of_list
...but the cost in terms of loss of brevity would far outweigh a benefit that would only accrue to complete beginners, who would be better served by comments and test cases.