storable-tuple: Storable instance for pairs and triples
Provides a Storable instance for pair and triple
which should be binary compatible with C99 and C++.
The only purpose of this package is to provide a standard location
for this instance so that other packages needing this instance
can play nicely together.
Note however, that the original purpose of the Storable
class
was the transfer of primitive types between Haskell and foreign code.
This purpose was already extended by HSC,
which creates Storable
instances for records from C header files.
Nonetheless,
Storable
instances for tuples were omitted from base
by intention.
Instead of using the orphan instances from this package,
you may instead use the custom class or the wrapper type
from the module Foreign.Storable.Record.Tuple
from the package storable-record
.
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
splitbase | Choose the new smaller, split-up base package. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- storable-tuple-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.0.3.1, 0.0.3.2, 0.0.3.3, 0.1 |
---|---|
Change log | Changes.md |
Dependencies | base (>=1.0 && <2 || >=3 && <5), base-orphans (>=0.5 && <1), special-functors (>=1.0 && <1.1), storable-record (>=0.0.5 && <0.1), utility-ht (>=0.0.1 && <0.1) [details] |
Tested with | ghc ==6.8.2, ghc ==8.0.1 |
License | BSD-3-Clause |
Author | Henning Thielemann <storable@henning-thielemann.de> |
Maintainer | Henning Thielemann <storable@henning-thielemann.de> |
Category | Data, Foreign |
Home page | http://code.haskell.org/~thielema/storable-tuple/ |
Source repo | head: darcs get http://code.haskell.org/~thielema/storable-tuple/ this: darcs get http://code.haskell.org/~thielema/storable-tuple/ --tag 0.1 |
Uploaded | by HenningThielemann at 2023-02-21T10:42:07Z |
Distributions | Arch:0.1, Debian:0.0.3.3, LTSHaskell:0.1, NixOS:0.1, Stackage:0.1 |
Reverse Dependencies | 15 direct, 86 indirect [details] |
Downloads | 18233 total (143 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |