<!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>HSFM.Utils.IO</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scriptsrc="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_HSFM-Utils-IO.html");};
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/HSFM-Utils-IO.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">hsfm-gtk</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">HSFM.Utils.IO</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>Random and general IO 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:writeTVarIO">writeTVarIO</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> a -> a -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li><liclass="src short"><ahref="#v:modifyTVarIO">modifyTVarIO</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> a -> (a -> a) -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><aid="v:writeTVarIO"class="def">writeTVarIO</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> a -> a -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-Utils-IO.html#writeTVarIO"class="link">Source</a><ahref="#v:writeTVarIO"class="selflink">#</a></p><divclass="doc"><p>Atomically write a TVar.</p></div></div><divclass="top"><pclass="src"><aid="v:modifyTVarIO"class="def">modifyTVarIO</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> a -> (a -> a) -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-Utils-IO.html#modifyTVarIO"class="link">Source</a><ahref="#v:modifyTVarIO"class="selflink">#</a></p><divclass="doc"><p>Atomically modify a TVar.</p></div></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>