enumset: Sets of enumeration values represented by machine words

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

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.

See also data-flags and Data.EnumSet in enummapset.

Properties

Versions0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.4.1, 0.0.4.1
Change logNone available
Dependenciesbase (==4.*), data-accessor (>=0.2.1 && <0.3), semigroups (>=0.1 && <1.0), storable-record (>=0.0.1 && <0.1) [details]
LicenseBSD-3-Clause
AuthorHenning Thielemann <haskell@henning-thielemann.de>
MaintainerHenning Thielemann <haskell@henning-thielemann.de>
CategoryData, Foreign
Source repositorythis: darcs clone http://code.haskell.org/~thielema/enumset/ --tag 0.0.4.1
head: darcs clone http://code.haskell.org/~thielema/enumset/
UploadedFri Feb 16 18:01:21 UTC 2018 by HenningThielemann

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees