Hi

I was solving some programming puzzles today[1], and found myself
pining for Map comprehensions.

[ ... (key,val) <- fromList map, ... ]

It isn't really that much more than a straight comprehension would be on a map.

By default should a map comprehension let you inspect the values, or
the keys, or both?

Thanks

Neil
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to