temporal-sdk
Safe HaskellNone
LanguageHaskell2010

Data.EvalRecord.TH

Synopsis

Documentation

mkEvalRecord :: DecsQ -> DecsQ Source #

Defines a synonym for the bare type with the same name. The strippable definition is suffixed by B, and the covered type is suffixed by H.

mkEvalRecordWith :: DeclareRecordConfig -> DecsQ -> DecsQ Source #

Generate a higher-kinded data declaration using a custom config.

Note that sum types are not currently supported.

data DeclareRecordConfig Source #

Constructors

DeclareRecordConfig 

Fields

passthrough :: DeclareRecordConfig Source #

Defines a synonym for the bare type with the same name. The basic definition is suffixed by F, and the unwrapped basic type has no suffix.