th-serde-0.1.3.0: A serialization/deserialization framework for Haskell
Safe HaskellNone
LanguageGHC2021

Data.Serde.Internal.Type

Description

conversion of Type to Type

Synopsis

Documentation

class ToTH a where Source #

convert a Type to a Type

Methods

toth :: a -> Type Source #

convert a Type to a Type

Instances

Instances details
ToTH Type Source # 
Instance details

Defined in Data.Serde.Internal.Type

Methods

toth :: Type -> Type Source #

cvtnam :: Name -> Name Source #

convert a Exts.Name to a TH.Name

qualification gets handled syntactically

cvtder :: Derive -> [Type] Source #

convert a Derive to a list of TH.Types