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] [Publish]

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

Versions 0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.4.1, 0.0.4.1, 0.0.5, 0.1
Change log None available
Dependencies base (>=4 && <5), data-accessor (>=0.2.1 && <0.3), semigroups (>=0.1 && <1.0), storable-record (>=0.0.1 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Category Data, Foreign
Source repo this: darcs get http://code.haskell.org/~thielema/enumset/ --tag 0.0.4.1
head: darcs get http://code.haskell.org/~thielema/enumset/
Uploaded by HenningThielemann at 2018-02-16T18:01:21Z

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees