Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Pretty-printing that requires a context
Synopsis
- class CPretty p ctxt where
- cpretty :: MonadReader ctxt m => p -> m Doc
Documentation
class CPretty p ctxt where Source #
Pretty-printing that requires a context
:: MonadReader ctxt m | |
=> p | |
-> m Doc | pretty-print in a monad providing the context |