
7 Jun
2010
7 Jun
'10
9:25 p.m.
Martin Drautzburg
If I have a function, say "compute" whose last parameter is some value ... and I create another function, which applies "compute" to a list of values, how would I call this function?
If I understand you correctly, and it's not simply "map . compute" (which I'd leave just like that), I would name the function that works on the full data set (i.e. list) 'compute' and a sub-function working on a single element 'compute1'. -k -- If I haven't seen further, it is by standing in the footprints of giants