Safe Haskell | None |
---|---|
Language | Haskell98 |
- data SrcSpan = SS {}
- dummySpan :: SrcSpan
- sourcePosElts :: SourcePos -> (SourceName, Line, Column)
- data FixResult a
- colorResult :: FixResult a -> Moods
- resultDoc :: Fixpoint a => FixResult a -> Doc
- data Error
- err :: SrcSpan -> Doc -> Error
- errLoc :: Error1 -> SrcSpan
- errMsg :: Error1 -> Doc
- catError :: Error -> Error -> Error
- catErrors :: ListNE Error -> Error
- panic :: String -> a
- die :: Error -> a
- dieAt :: SrcSpan -> Error -> a
- exit :: a -> IO a -> IO a
- errFreeVarInQual :: (PPrint q, Loc q, PPrint x) => q -> x -> Error
- errFreeVarInConstraint :: PPrint a => (Integer, a) -> Error
- errIllScopedKVar :: (PPrint k, PPrint bs) => (k, Integer, Integer, bs) -> Error
Concrete Location Type
A Reusable SrcSpan Type ------------------------------------------
sourcePosElts :: SourcePos -> (SourceName, Line, Column) Source #
Result
Result ---------------------------------------------------------
Functor FixResult Source # | |
Foldable FixResult Source # | |
Traversable FixResult Source # | |
Eq a => Eq (FixResult a) Source # | |
Data a => Data (FixResult a) Source # | |
Show a => Show (FixResult a) Source # | |
Generic (FixResult a) Source # | |
Monoid (FixResult a) Source # | |
Exception (FixResult Error) Source # | |
Binary a => Binary (FixResult a) Source # | |
Serialize (FixResult Error) Source # | |
NFData a => NFData (FixResult a) Source # | |
(Ord a, Fixpoint a) => Fixpoint (FixResult (SubC a)) Source # | |
Inputable (FixResult Integer) Source # | |
Inputable (FixResult Integer, FixSolution) Source # | |
type Rep (FixResult a) Source # | |
colorResult :: FixResult a -> Moods Source #
Abstract Error Type
A BareBones Error Type ----------------------------------------------------
Constructor
Accessors
Adding Insult to Injury
Fatal Exit
Some popular errors
errFreeVarInQual :: (PPrint q, Loc q, PPrint x) => q -> x -> Error Source #
Catalogue of Errors --------------------------------------------