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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Prettyprinter.Render.Util.Panic

Synopsis

- panicUncaughtFail :: void
- panicUnpairedPop :: void
- panicSimpleDocTreeConversionFailed :: void
- panicInputNotFullyConsumed :: void
- panicPeekedEmpty :: void
- panicPoppedEmpty :: void

# 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.

panicPeekedEmpty :: void Source #

panicPoppedEmpty :: void Source #