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

Data.Serde.Internal.Syn

Description

define syntax

Synopsis

parsing

data Parsed Source #

parsed data

Constructors

Parsed 

Fields

Instances

Instances details
Show Parsed Source # 
Instance details

Defined in Data.Serde.Internal.Syn

parse :: String -> Either String Parsed Source #

parse quasi-quoted syntax

parsetypeexts :: String -> Type Source #

go from type string to Exts.Type

you need to use a function from Data.Serde.Type to convert this to a TH.Type

syntax

data Syn Source #

a declaration

Constructors

SynData 

Fields

SynNewtype 
SynAlias 

Fields

Instances

Instances details
Show Syn Source # 
Instance details

Defined in Data.Serde.Internal.Syn

Methods

showsPrec :: Int -> Syn -> ShowS #

show :: Syn -> String #

showList :: [Syn] -> ShowS #

data SynFld Source #

field information

Constructors

SynFld 

Instances

Instances details
Show SynFld Source # 
Instance details

Defined in Data.Serde.Internal.Syn

data ViaInfo Source #

type information that may include a via clause

Instances

Instances details
Show ViaInfo Source # 
Instance details

Defined in Data.Serde.Internal.ISyn

re-export

type Name = Name () #

type Type = Type () #