th-utilities-0.1.0.0: Collection of useful functions for use with Template Haskell

Safe HaskellNone
LanguageHaskell2010

TH.Derive.Storable

Description

Implementation of a Storable deriver for data types. This works for any non-recursive datatype which has Storable fields.

Most users won't need to import this module directly. Instead, use derive / Deriving to create Storable instances.

Synopsis

Documentation

makeStorableInst :: Cxt -> Type -> Q [Dec] Source

Implementation used for runDeriver.