pinchot-0.24.0.0: Write grammars, not parsers

Safe HaskellNone
LanguageHaskell2010

Pinchot.Pretty

Description

Pretty printing.

Synopsis

Documentation

prettyList :: (a -> Value) -> [a] -> Value Source #

prettyNonEmpty :: (a -> Value) -> NonEmpty a -> Value Source #

Prettify a NonEmpty.

prettyMaybe :: (a -> Value) -> Maybe a -> Value Source #

Prettify a Maybe.

prettyReport :: (e -> Value) -> (i -> Value) -> Report e i -> Value Source #

Prettify a Report.

prettyFullParses :: (PrettyVal p, PrettyVal v) => ([p], Report String [v]) -> Value Source #

Prettify the output of locatedFullParses.