
25 Sep
2007
25 Sep
'07
10:05 a.m.
Aaron Denney wrote:
On 2007-09-25, Andrew Coppin
wrote: BTW, one *extremely* common function that I've never seen mentioned anywhere is this one:
map2 :: (a -> b) -> [[a]] -> [[b]] map2 f = map (map f)
Because someone would have to think of a name for it, when (map . map) is likely to be clearer.
OK, *now* I'm puzzled... Why does map . map type-check?