[Haskell-cafe] enumsets in ArchLinux but not in Hackage

Henning Thielemann lemming at henning-thielemann.de
Sun Dec 19 20:43:59 CET 2010


On Mon, 20 Dec 2010, Ivan Lazar Miljenovic wrote:

> On 19 December 2010 23:54, Henning Thielemann
> <lemming at henning-thielemann.de> 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.



More information about the Haskell-Cafe mailing list