BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:storable-tuple-0.1@sha256:75897946f56c019b863c9deaabf887eef603130a2db8f5458cda750a304b1887,2123

Module documentation for 0.1

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.

Changes

Change log for the storable-tuple package

0.1

  • Tuple: implement instances using Record.Tuple