On Tue, Jul 2, 2013 at 2:45 PM, Henning Thielemann <lemming@henning-thielemann.de> wrote:
  Foldable.sequence_ . Map.mapWithKey f 
 
which looks more elegant.
 
This has the unfortunate consequence that it builds an entire new map strictly before sequencing it, due to the fact that Data.Map is spine-strict. =(

-Edward