packages feed

chatty 0.5.3.1 → 0.5.4.0

raw patch · 3 files changed

+11/−1 lines, 3 files

Files

Text/Chatty/Extended/Printer.hs view
@@ -40,6 +40,12 @@   -- | Print the string in the given colour and terminate the line.   eprintLn :: Colour -> String -> m ()   eprintLn c s = eprint c s >> mprintLn ""+  -- | Print the string in the given colour without masking.+  enomask :: Colour -> String -> m ()+  enomask c = ebracket c . mnomask+  -- | Print the string in the given colour without masking and terminate the line.+  enomaskLn :: Colour -> String -> m ()+  enomaskLn c s = enomask c s >> mprintLn ""   -- | Start using the specified colour.   estart :: Colour -> m ()   -- | Reset colour.
Text/Chatty/Printer.hs view
@@ -167,6 +167,10 @@ mprintLn :: MonadPrinter m => String -> m () mprintLn = mprint . (++"\n") +-- | Line-terminating alternative to 'mnomask'+mnomaskLn :: MonadPrinter m => String -> m ()+mnomaskLn = mnomask . (++"\n")+ -- Shell-like syntax -- | Redirection target that discards input. data DiscardO = DiscardO
chatty.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.5.3.1+version:             0.5.4.0  -- A short (one-line) description of the package. synopsis:            Some monad transformers and typeclasses to simplify I/O on a transformer stack.