Because it is supplied by the Foldable superclass.


On Sat, May 18, 2013 at 5:21 PM, Andreas Abel <andreas.abel@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@ifi.lmu.de
http://www2.tcs.ifi.lmu.de/~abel/

_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries