fmap is an expensive operation, it is likely better to use liftA2 than to (fmap over the structure and then use <*>). (emphasis and parens added).In the documentation here it's written that for some functors liftA2 has better performance than fmap. Does anyone have any examples ?Regards,
--
Damien Bihel
R&D (Research & Development) Engineer at ELRA (European Language Resources Association)
E-Mail: biheldamien@gmail.com
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell