Aaron Denney wrote:
On 2007-09-25, Andrew Coppin <[EMAIL PROTECTED]> 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?
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe