-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMonky-Examples-Modify.html
More file actions
9 lines (9 loc) · 5.73 KB
/
Copy pathMonky-Examples-Modify.html
File metadata and controls
9 lines (9 loc) · 5.73 KB
1
2
3
4
5
6
7
8
9
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Monky.Examples.Modify</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Monky-Examples-Modify.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Monky-Examples-Modify.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">monky-2.1.0.0: A system state collecting library and application</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Monky.Examples.Modify</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:ModifyHandle">ModifyHandle</a> a</li><li class="src short"><a href="#v:getModifyHandle">getModifyHandle</a> :: ([<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>] -> [<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>]) -> IO a -> IO (<a href="Monky-Examples-Modify.html#t:ModifyHandle">ModifyHandle</a> a)</li><li class="src short"><span class="keyword">data</span> <a href="#t:IOModifyHandle">IOModifyHandle</a> a</li><li class="src short"><a href="#v:getIOModifyHandle">getIOModifyHandle</a> :: ([<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>] -> IO [<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>]) -> IO a -> IO (<a href="Monky-Examples-Modify.html#t:IOModifyHandle">IOModifyHandle</a> a)</li><li class="src short"><a href="#v:changeImage">changeImage</a> :: Char -> <a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a> -> <a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ModifyHandle" class="def">ModifyHandle</a> a <a href="src/Monky-Examples-Modify.html#ModifyHandle" class="link">Source</a></p><div class="doc"><p>Handle for duing pure modification of module output
</p></div><div class="subs instances"><p id="control.i:ModifyHandle" class="caption collapser" onclick="toggleSection('i:ModifyHandle')">Instances</p><div id="section.i:ModifyHandle" class="show"><table><tr><td class="src"><a href="Monky-Modules.html#t:EvtModule">EvtModule</a> a => <a href="Monky-Modules.html#t:EvtModule">EvtModule</a> (<a href="Monky-Examples-Modify.html#t:ModifyHandle">ModifyHandle</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Monky-Modules.html#t:PollModule">PollModule</a> a => <a href="Monky-Modules.html#t:PollModule">PollModule</a> (<a href="Monky-Examples-Modify.html#t:ModifyHandle">ModifyHandle</a> a)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getModifyHandle" class="def">getModifyHandle</a> :: ([<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>] -> [<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>]) -> IO a -> IO (<a href="Monky-Examples-Modify.html#t:ModifyHandle">ModifyHandle</a> a)<a href="src/Monky-Examples-Modify.html#getModifyHandle" class="link">Source</a></p><div class="doc"><p>Get a handle to purely modify another modules output
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:IOModifyHandle" class="def">IOModifyHandle</a> a <a href="src/Monky-Examples-Modify.html#IOModifyHandle" class="link">Source</a></p><div class="doc"><p>Handle for modifying output in IO monad
</p></div><div class="subs instances"><p id="control.i:IOModifyHandle" class="caption collapser" onclick="toggleSection('i:IOModifyHandle')">Instances</p><div id="section.i:IOModifyHandle" class="show"><table><tr><td class="src"><a href="Monky-Modules.html#t:EvtModule">EvtModule</a> a => <a href="Monky-Modules.html#t:EvtModule">EvtModule</a> (<a href="Monky-Examples-Modify.html#t:IOModifyHandle">IOModifyHandle</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Monky-Modules.html#t:PollModule">PollModule</a> a => <a href="Monky-Modules.html#t:PollModule">PollModule</a> (<a href="Monky-Examples-Modify.html#t:IOModifyHandle">IOModifyHandle</a> a)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getIOModifyHandle" class="def">getIOModifyHandle</a> :: ([<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>] -> IO [<a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a>]) -> IO a -> IO (<a href="Monky-Examples-Modify.html#t:IOModifyHandle">IOModifyHandle</a> a)<a href="src/Monky-Examples-Modify.html#getIOModifyHandle" class="link">Source</a></p><div class="doc"><p>Get a handle that can modify another handles output in the IO monad
</p></div></div><div class="top"><p class="src"><a name="v:changeImage" class="def">changeImage</a> :: Char -> <a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a> -> <a href="Monky-Modules.html#t:MonkyOut">MonkyOut</a><a href="src/Monky-Examples-Modify.html#changeImage" class="link">Source</a></p><div class="doc"><p>Change the replacemant char in an monky image (if your font doesn't support it), returns initial value if not an image
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>