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          [EMAIL PROTECTED]              
Kapplandsgatan 40       +46 (0)708 26 33 60                    
S-414 78  G�TEBORG      http://www.dtek.chalmers.se/~d95mback/
SWEDEN                  OpenPGP ID: 3FA8580B

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to