The enumset package

[Tags: bsd3, library]

With this package you can create a type safe interface to flag sets. It is intended for interfacing to C libraries via FFI, where Word8, Word16, or Word32 types are commonly used to store bit vectors. E.g. the type EnumSet Word16 Ordering represents a flag set stored in a Word16 that supports the flags LT, EQ, GT.

This package is similar to the bitset package and the Data.Edison.Coll.EnumSet module in the edison package, however our implementation allows you to choose the embedding type and thus the maximum size of the set.


Properties

Versions0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4
Dependenciesbase (==4.*), data-accessor (>=0.2.1 && <0.3), storable-record (>=0.0.1 && <0.1)
LicenseBSD3
AuthorHenning Thielemann <haskell@henning-thielemann.de>
MaintainerHenning Thielemann <haskell@henning-thielemann.de>
CategoryData, Foreign
Source repositorythis: darcs get http://code.haskell.org/~thielema/enumset/ --tag 0.0.4
head: darcs get http://code.haskell.org/~thielema/enumset/
Upload dateFri May 11 21:00:18 UTC 2012
Uploaded byHenningThielemann
DistributionsNixOS:0.0.4
Downloads545 total (53 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees