The latest version of enumset is 0.1-0.

enumset

Version 0.0.4 revision 0 uploaded by HenningThielemann.

Package meta

Synopsis
Sets of enumeration values represented by machine words
Description

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.

Author
Henning Thielemann <haskell@henning-thielemann.de>
Bug reports
n/a
Category
Data, Foreign
Copyright
n/a
Homepage
n/a
Maintainer
Henning Thielemann <haskell@henning-thielemann.de>
Package URL
n/a
Stability
n/a

Components