trifecta-0.37: A modern parser combinator library with convenient diagnostics

Text.Trifecta.Diagnostic.Class

Documentation

class Monad m => MonadDiagnostic e m | m -> e whereSource

Methods

fatalWith :: [Diagnostic e] -> [Rendering] -> e -> m aSource

errWith :: [Diagnostic e] -> [Rendering] -> e -> m aSource

logWith :: DiagnosticLevel -> [Diagnostic e] -> [Rendering] -> e -> m ()Source