dev-haskell/enumset (haskell)

Search

Package Information

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.
Homepage:
https://hackage.haskell.org/package/enumset
License:
BSD

Versions

Version EAPI Keywords Slot
0.0.5 8 ~amd64 0/0.0.5

Metadata

Description

Maintainers

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<longdescription>
		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.
	</longdescription>
</pkgmetadata>

Lint Warnings

Manifest

Type File Size Versions
DIST enumset-0.0.5.tar.gz 6079 bytes 0.0.5
Unmatched Entries
Type File Size