| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Distribution.Parsec.Error
Synopsis
- data PError = PError {}
- data PErrorWithSource src = PErrorWithSource {
- perrorSource :: !(PSource src)
- perror :: !PError
- showPError :: FilePath -> PError -> String
- showPErrorWithSource :: PErrorWithSource String -> String
Documentation
Parser error.
Constructors
| PError | |
Fields | |
Instances
data PErrorWithSource src Source #
Constructors
| PErrorWithSource | |
Fields
| |
Instances
| Functor PErrorWithSource Source # | |||||
Defined in Distribution.Parsec.Error Methods fmap :: (a -> b) -> PErrorWithSource a -> PErrorWithSource b # (<$) :: a -> PErrorWithSource b -> PErrorWithSource a # | |||||
| Generic (PErrorWithSource src) Source # | |||||
Defined in Distribution.Parsec.Error Associated Types
Methods from :: PErrorWithSource src -> Rep (PErrorWithSource src) x # to :: Rep (PErrorWithSource src) x -> PErrorWithSource src # | |||||
| Show src => Show (PErrorWithSource src) Source # | |||||
Defined in Distribution.Parsec.Error Methods showsPrec :: Int -> PErrorWithSource src -> ShowS # show :: PErrorWithSource src -> String # showList :: [PErrorWithSource src] -> ShowS # | |||||
| type Rep (PErrorWithSource src) Source # | |||||
Defined in Distribution.Parsec.Error type Rep (PErrorWithSource src) = D1 ('MetaData "PErrorWithSource" "Distribution.Parsec.Error" "Cabal-syntax-3.18.1.0-inplace" 'False) (C1 ('MetaCons "PErrorWithSource" 'PrefixI 'True) (S1 ('MetaSel ('Just "perrorSource") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PSource src)) :*: S1 ('MetaSel ('Just "perror") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PError))) | |||||