ghc-storable-record 0.0.4 Elegant definition of Storable instances for records
With this package you can build a Storable instance of a record type from Storable instances of its elements in an elegant way. It does not do any magic, just a bit arithmetic to compute the right offsets, that would be otherwise done manually or by a preprocessor like C2HS. There is no guarantee that the generated memory layout is compatible with that of a corresponding C struct. However, the module generates the smallest layout that is possible with respect to the alignment of the record elements.
- Website: https://hackage.haskell.org/package/storable-record
- License: Modified BSD
- Package source: haskell-xyz.scm
- Patches: None
- Builds: x86_64-linux, i686-linux