registry-aeson-0.2.3.0: Aeson encoders / decoders
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Registry.Aeson.TH.TH

Synopsis

Documentation

typesOf :: Con -> Q [Type] Source #

Get the types of all the fields of a constructor

nameOf :: Con -> Q Name Source #

Get the name of a constructor

fieldsOf :: Con -> Q [Name] Source #

Get the list of names of a constructor

makeName :: ThOptions -> Name -> Name Source #

Remove the module name from a qualified name

getSimpleTypeName :: ThOptions -> Type -> Name Source #

Return the name of a given type with a modified name based on options