monky-2.1.0.0: A system state collecting library and application

Safe HaskellNone

Monky.Examples.Modify

Synopsis

Documentation

data ModifyHandle a Source

Handle for duing pure modification of module output

getModifyHandle :: ([MonkyOut] -> [MonkyOut]) -> IO a -> IO (ModifyHandle a)Source

Get a handle to purely modify another modules output

data IOModifyHandle a Source

Handle for modifying output in IO monad

getIOModifyHandle :: ([MonkyOut] -> IO [MonkyOut]) -> IO a -> IO (IOModifyHandle a)Source

Get a handle that can modify another handles output in the IO monad

changeImage :: Char -> MonkyOut -> MonkyOutSource

Change the replacemant char in an monky image (if your font doesn't support it), returns initial value if not an image