enumsets in ArchLinux but not in Hackage

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).

On 19 December 2010 23:54, Henning Thielemann
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 -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

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.

On 20 December 2010 06:43, Henning Thielemann
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.
The second one doesn't: it's a fork of IntMap (without the recent improvements though I think). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On Mon, 20 Dec 2010, Ivan Lazar Miljenovic wrote:
On 20 December 2010 06:43, Henning Thielemann
wrote: 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.
The second one doesn't: it's a fork of IntMap (without the recent improvements though I think).
The point is: I need a wrapper around Word8, Word16, Word32 that treats them as bitfields, just as needed in C interfaces.
participants (2)
-
Henning Thielemann
-
Ivan Lazar Miljenovic