
On Mon, 20 Dec 2010, Ivan Lazar Miljenovic wrote:
On 19 December 2010 23:54, Henning Thielemann
wrote: I found the package 'enumsets' in ArchLinux: http://aur.archlinux.org/packages.php?ID=18116
This points to Hackage, but there is no such package.
It sounds like something I could need: A simple Haskell 98 wrapper around Word32, Word16, Word8, that are interpreted as bitfields, providing set operations with elements of an Enum type. I frequently like to have this when interfacing to C. I know of Edison.EnumSet, but my emphasis is on simplicity (i.e. Haskell 98).
Maybe it's referring to (or you could use) one of the following:
* http://hackage.haskell.org/package/EnumContainers * http://hackage.haskell.org/package/EnumMap
No they are different, they rely on containers' IntMap.