On Thu, Feb 19, 2009 at 01:51:44PM +0300, Eugene Kirpichov wrote: > Is there a typeclass for mappings with a Data.Map-like interface, with > stuff like: empty, insert, insertWithKey, unionWith etc. ? > And, probably, a similar typeclass for mutable mappings like Data.Hashtable.
Here is one I wrote a while ago, feel free to use it any way you want, I bequeath the fille to the public domain. http://repetae.net/repos/jhc/Util/SetLike.hs John -- John Meacham - ⑆repetae.net⑆john⑈ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe