prettyprinter-1.7.1: A modern, easy to use, well-documented, extensible pretty-printer.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Prettyprinter.Render.Util.Panic

Synopsis

Documentation

panicUncaughtFail :: void Source #

Raise a hard error if there is a SFail in a SimpleDocStream.

panicUnpairedPop :: void Source #

Raise a hard error when an annotation terminator is encountered in an unannotated region.

panicSimpleDocTreeConversionFailed :: void Source #

Raise a hard generic error when the SimpleDocStream to SimpleDocTree conversion fails.

panicInputNotFullyConsumed :: void Source #

Raise a hard error when the »to SimpleDocTree« parser finishes without consuming the full input.