11 Sep
2002
11 Sep
'02
7:54 a.m.
ons 2002-09-11 klockan 04.50 skrev Dr Mark H Phillips:
Hi,
Why does Haskell have a special function called concatMap, rather than people just doing "concat.map"? Is it because concatMap has a more sophisticated implementation than doing just "concat.map"?
I think it's just because it's easier to read/write concatMap f list than (concat.map) f list Regards, Martin -- Martin Norbäck d95mback@dtek.chalmers.se Kapplandsgatan 40 +46 (0)708 26 33 60 S-414 78 GÖTEBORG http://www.dtek.chalmers.se/~d95mback/ SWEDEN OpenPGP ID: 3FA8580B