store-0.7.2: Fast binary serialization

Safe HaskellNone
LanguageHaskell2010

Data.Store.TH.Internal

Contents

Synopsis

TH functions for generating Store instances

makeStore :: Name -> Q [Dec] Source #

Given the name of a type, generate a Store instance for it, assuming that all type variables also need to be Store instances.

Note that when used with datatypes that require type variables, the ScopedTypeVariables extension is required.

Misc utilties used in Store test

Orphan instances

Deriver (Store a) Source # 
Instance details

Methods

runDeriver :: Proxy (Store a) -> Cxt -> Type -> Q [Dec] #