[Haskell-beginners] a problem with maps

Dennis Raddle dennis.raddle at gmail.com
Sat Jul 23 05:38:25 CEST 2011


Another problem is have is to filter entries in a map. If I have a map

Ord k => Map k [a]

(essentially, which combines data with the same key into a list)

and I have a predicte  (k,a) -> Bool

(which takes the key and one element in its list and checks it)

and I need to regenerate the map, what would be a good way to do that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110722/5e074878/attachment.htm>


More information about the Beginners mailing list