Safe Haskell | Safe-Inferred |
---|
Provides an extended printer class that supports colours.
Documentation
class MonadPrinter m => ExtendedPrinter m whereSource
Typeclass for all printers that support colourized output.
ebracket :: Colour -> m a -> m aSource
Run the function with the given colour.
eprint :: Colour -> String -> m ()Source
Print the string in the given colour.
eprintLn :: Colour -> String -> m ()Source
Print the string in the given colour and terminate the line.
estart :: Colour -> m ()Source
Start using the specified colour.
Reset colour.
ExtendedPrinter m0 => ExtendedPrinter (InRedirT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (QuietT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (HereStringT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (SpawnOverlayT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (HandleFilterT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (BoolFilterT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (IntFilterT m0) | |
MonadPrinter m => ExtendedPrinter (HtmlPrinterT m) | |
MonadPrinter m => ExtendedPrinter (AnsiPrinterT m) | |
ExtendedPrinter m0 => ExtendedPrinter (NullExpanderT m0) | |
ExtendedPrinter m0 => ExtendedPrinter (HistoryT m0) |