Traversable.mapM_ missing

Andreas Abel andreas.abel at ifi.lmu.de
Sat May 18 23:21:53 CEST 2013


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/



More information about the Libraries mailing list