| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Cfg.CPretty
Description
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
Methods
Arguments
| :: MonadReader ctxt m | |
| => p | |
| -> m Doc | pretty-print in a monad providing the context |