[Haskell-cafe] A typeclass for Data.Map etc?

John Meacham john at repetae.net
Thu Feb 19 17:07:03 EST 2009


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⑈


More information about the Haskell-Cafe mailing list