Traversable.mapM_ missing
Jake McArthur
jake.mcarthur at gmail.com
Sat May 18 23:24:05 CEST 2013
It lives in Data.Foldable. You don't need the full power of Traversable for
mapM_!
On Sat, May 18, 2013 at 5:21 PM, Andreas Abel <andreas.abel at ifi.lmu.de>wrote:
> On some haskell list I read that for lists,
>
> mapM_ f l
>
> is more space-efficient that just
>
> void $ mapM f l
>
> Any reason why mapM_ is missing from Data.Traversable?
>
> Cheers,
> Andreas
>
> --
> Andreas Abel <>< Du bist der geliebte Mensch.
>
> Theoretical Computer Science, University of Munich
> Oettingenstr. 67, D-80538 Munich, GERMANY
>
> andreas.abel at ifi.lmu.de
> http://www2.tcs.ifi.lmu.de/~**abel/ <http://www2.tcs.ifi.lmu.de/~abel/>
>
> ______________________________**_________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/**mailman/listinfo/libraries<http://www.haskell.org/mailman/listinfo/libraries>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20130518/b69852b2/attachment.htm>
More information about the Libraries
mailing list