This primarily exports the CStorable typeclass, which may have its
methods automatically defaulted if it has a Generic instance.
Then, this instance can be transfered via the Storable
constructor.
Documentation
This typeclass is basically just a duplicate of Storable
. It exists
because I can't easily modify Storable
, as it is part of base.
newtype StorableWrap a Source
Applying the Storable
constructor to something which is Storable
gives it a corresponding CStorable instance.
Storable a |
Storable a => CStorable (StorableWrap a) | Translates a Storable instance to a CStorable instance |