<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>HPath.IO.Utils</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/HPath-IO-Utils.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">hpath-0.7.5: Support for well-typed paths</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Copyright</th><td>© 2016 Julian Ospald</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Julian Ospald <hasufell@posteo.de></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">HPath.IO.Utils</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>Random and general IO/monad utilities.</p></div></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><ahref="#v:whenM">whenM</a> :: <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Control-Monad.html#t:Monad">Monad</a> m => m <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Data-Bool.html#t:Bool">Bool</a> -> m () -> m ()</li><liclass="src short"><ahref="#v:unlessM">unlessM</a> :: <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Control-Monad.html#t:Monad">Monad</a> m => m <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Data-Bool.html#t:Bool">Bool</a> -> m () -> m ()</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><aname="v:whenM"class="def">whenM</a> :: <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Control-Monad.html#t:Monad">Monad</a> m => m <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Data-Bool.html#t:Bool">Bool</a> -> m () -> m () <ahref="src/HPath-IO-Utils.html#whenM"class="link">Source</a></p><divclass="doc"><p>If the value of the first argument is True, then execute the action
provided in the second argument, otherwise do nothing.</p></div></div><divclass="top"><pclass="src"><aname="v:unlessM"class="def">unlessM</a> :: <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Control-Monad.html#t:Monad">Monad</a> m => m <ahref="https://hackage.haskell.org/package/base-4.7.0.2/docs/Data-Bool.html#t:Bool">Bool</a> -> m () -> m () <ahref="src/HPath-IO-Utils.html#unlessM"class="link">Source</a></p><divclass="doc"><p>If the value of the first argument is False, then execute the action
provided in the second argument, otherwise do nothing.</p></div></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.14.3</p></div></body></html>