language-dickinson-1.4.3.0: A language for generative literature
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Dickinson.Parser

Documentation

data ParseError a Source #

Constructors

Unexpected (Token a) 
LexErr String 

Instances

Instances details
(Pretty a, Typeable a) => Exception (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

Generic (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

Associated Types

type Rep (ParseError a) :: Type -> Type #

Methods

from :: ParseError a -> Rep (ParseError a) x #

to :: Rep (ParseError a) x -> ParseError a #

Pretty a => Show (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

NFData a => NFData (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

Methods

rnf :: ParseError a -> () #

Pretty a => Pretty (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

Methods

pretty :: ParseError a -> Doc ann #

prettyList :: [ParseError a] -> Doc ann #

type Rep (ParseError a) Source # 
Instance details

Defined in Language.Dickinson.Parser

type Rep (ParseError a) = D1 ('MetaData "ParseError" "Language.Dickinson.Parser" "language-dickinson-1.4.3.0-u4JKvBug5L7Xak6MfKGcR-dickinson" 'False) (C1 ('MetaCons "Unexpected" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Token a))) :+: C1 ('MetaCons "LexErr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))