storable-tuple: Storable instance for pairs and triples

[ bsd3, data, foreign, library ] [ Propose Tags ]

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.


[Index] [Quick Jump]


Automatic Flags

Choose the new smaller, split-up base package.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.0.1, 0.0.2, 0.0.3,,,, 0.1
Change log
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]
License BSD-3-Clause
Author Henning Thielemann <>
Maintainer Henning Thielemann <>
Category Data, Foreign
Home page
Source repo head: darcs get
this: darcs get --tag 0.1
Uploaded by HenningThielemann at 2023-02-21T10:42:07Z
Distributions Arch:0.1, Debian:, LTSHaskell:0.1, NixOS:0.1, Stackage:0.1
Reverse Dependencies 15 direct, 84 indirect [details]
Downloads 17066 total (155 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]