bool8: Alternative Bool type stored as byte

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]

The standard Bool type has a Storable instance that requires the size of HTYPE_INT, i.e. usually four bytes or even more. This package provides Bool8, a boolean type with an 8 bit representation in memory. It is not a drop-in replacement for Bool though. You have to convert from or to Bool occasionally.

Starting with GHC-8.2/base-4.10 you also have Foreign.C.Types.CBool.


Versions 0.0, 0.0.1,,
Change log None available
Dependencies base (>=3 && <5) [details]
License BSD-3-Clause
Author Henning Thielemann
Category Foreign
Source repo this: darcs get --tag
head: darcs get
Uploaded by HenningThielemann at 2017-10-17T09:12:24Z




Maintainer's Corner

For package maintainers and hackage trustees