registry-aeson-0.2.0.0: Aeson encoders / decoders
Safe HaskellNone
LanguageHaskell2010

Data.Registry.Aeson.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

dropQualified :: Name -> Name Source #

Remove the module name from a qualified name

getSimpleTypeName :: Type -> Name Source #

Return the name of a given type