Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 3645

ghc-7.4.2-4.mga5.i586.rpm

<!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>GHC.Prim</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_GHC-Prim.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">ghc-prim-0.2.0.0: GHC primitives</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable (GHC extensions)</td></tr><tr><th>Stability</th><td>internal</td></tr><tr><th>Maintainer</th><td>cvs-ghc@haskell.org</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">GHC.Prim</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The word size story.
</a></li><li><a href="#g:2">Char#
</a></li><li><a href="#g:3">Int#
</a></li><li><a href="#g:4">Word#
</a></li><li><a href="#g:5">Narrowings
</a></li><li><a href="#g:6">Int64#
</a></li><li><a href="#g:7">Word64#
</a></li><li><a href="#g:8">Double#
</a></li><li><a href="#g:9">Float#
</a></li><li><a href="#g:10">Arrays
</a></li><li><a href="#g:11">Byte Arrays
</a></li><li><a href="#g:12">Arrays of arrays
</a></li><li><a href="#g:13">Addr#
</a></li><li><a href="#g:14">Mutable variables
</a></li><li><a href="#g:15">Exceptions
</a></li><li><a href="#g:16">STM-accessible Mutable Variables
</a></li><li><a href="#g:17">Synchronized Mutable Variables
</a></li><li><a href="#g:18">Delay/wait operations
</a></li><li><a href="#g:19">Concurrency primitives
</a></li><li><a href="#g:20">Weak pointers
</a></li><li><a href="#g:21">Stable pointers and names
</a></li><li><a href="#g:22">Unsafe pointer equality
</a></li><li><a href="#g:23">Parallelism
</a></li><li><a href="#g:24">Tag to enum stuff
</a></li><li><a href="#g:25">Bytecode operations
</a></li><li><a href="#g:26">Misc
</a></li><li><a href="#g:27">Etc
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>GHC's primitive types and operations.
 Use GHC.Exts from the base package instead of importing this
 module directly.
</p></div></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:Char-35-">Char#</a> </li><li class="src short"><a href="#v:gtChar-35-">gtChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:geChar-35-">geChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:eqChar-35-">eqChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:neChar-35-">neChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:ltChar-35-">ltChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:leChar-35-">leChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:ord-35-">ord#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Int-35-">Int#</a> </li><li class="src short"><a href="#v:-43--35-">(+#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:-45--35-">(-#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:-42--35-">(*#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:mulIntMayOflo-35-">mulIntMayOflo#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:quotInt-35-">quotInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:remInt-35-">remInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:negateInt-35-">negateInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:addIntC-35-">addIntC#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:subIntC-35-">subIntC#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:-62--35-">(&gt;#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-62--61--35-">(&gt;=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-61--61--35-">(==#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-47--61--35-">(/=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-60--35-">(&lt;#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-60--61--35-">(&lt;=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:chr-35-">chr#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></li><li class="src short"><a href="#v:int2Word-35-">int2Word#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:int2Float-35-">int2Float#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:int2Double-35-">int2Double#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:uncheckedIShiftL-35-">uncheckedIShiftL#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:uncheckedIShiftRA-35-">uncheckedIShiftRA#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:uncheckedIShiftRL-35-">uncheckedIShiftRL#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Word-35-">Word#</a> </li><li class="src short"><a href="#v:plusWord-35-">plusWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:minusWord-35-">minusWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:timesWord-35-">timesWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:quotWord-35-">quotWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:remWord-35-">remWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:and-35-">and#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:or-35-">or#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:xor-35-">xor#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:not-35-">not#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:uncheckedShiftL-35-">uncheckedShiftL#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:uncheckedShiftRL-35-">uncheckedShiftRL#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:word2Int-35-">word2Int#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:gtWord-35-">gtWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:geWord-35-">geWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:eqWord-35-">eqWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:neWord-35-">neWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:ltWord-35-">ltWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:leWord-35-">leWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:popCnt8-35-">popCnt8#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:popCnt16-35-">popCnt16#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:popCnt32-35-">popCnt32#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:popCnt64-35-">popCnt64#</a> :: <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:popCnt-35-">popCnt#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:narrow8Int-35-">narrow8Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:narrow16Int-35-">narrow16Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:narrow32Int-35-">narrow32Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:narrow8Word-35-">narrow8Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:narrow16Word-35-">narrow16Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:narrow32Word-35-">narrow32Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Int64-35-">Int64#</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:Word64-35-">Word64#</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:Double-35-">Double#</a> </li><li class="src short"><a href="#v:-62--35--35-">(&gt;##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-62--61--35--35-">(&gt;=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-61--61--35--35-">(==##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-47--61--35--35-">(/=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-60--35--35-">(&lt;##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-60--61--35--35-">(&lt;=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:-43--35--35-">(+##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:-45--35--35-">(-##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:-42--35--35-">(*##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:-47--35--35-">(/##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:negateDouble-35-">negateDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:double2Int-35-">double2Int#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:double2Float-35-">double2Float#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:expDouble-35-">expDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:logDouble-35-">logDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:sqrtDouble-35-">sqrtDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:sinDouble-35-">sinDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:cosDouble-35-">cosDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:tanDouble-35-">tanDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:asinDouble-35-">asinDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:acosDouble-35-">acosDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:atanDouble-35-">atanDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:sinhDouble-35-">sinhDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:coshDouble-35-">coshDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:tanhDouble-35-">tanhDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:-42--42--35--35-">(**##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:decodeDouble_2Int-35-">decodeDouble_2Int#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Word-35-">Word#</a>, <a href="GHC-Prim.html#t:Word-35-">Word#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Float-35-">Float#</a> </li><li class="src short"><a href="#v:gtFloat-35-">gtFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:geFloat-35-">geFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:eqFloat-35-">eqFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:neFloat-35-">neFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:ltFloat-35-">ltFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:leFloat-35-">leFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:plusFloat-35-">plusFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:minusFloat-35-">minusFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:timesFloat-35-">timesFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:divideFloat-35-">divideFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:negateFloat-35-">negateFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:float2Int-35-">float2Int#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:expFloat-35-">expFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:logFloat-35-">logFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:sqrtFloat-35-">sqrtFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:sinFloat-35-">sinFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:cosFloat-35-">cosFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:tanFloat-35-">tanFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:asinFloat-35-">asinFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:acosFloat-35-">acosFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:atanFloat-35-">atanFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:sinhFloat-35-">sinhFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:coshFloat-35-">coshFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:tanhFloat-35-">tanhFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:powerFloat-35-">powerFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:float2Double-35-">float2Double#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:decodeFloat_Int-35-">decodeFloat_Int#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Array-35-">Array#</a> a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:MutableArray-35-">MutableArray#</a> s a</li><li class="src short"><a href="#v:newArray-35-">newArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</li><li class="src short"><a href="#v:sameMutableArray-35-">sameMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:readArray-35-">readArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:writeArray-35-">writeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:sizeofArray-35-">sizeofArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:sizeofMutableArray-35-">sizeofMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexArray-35-">indexArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#a#)</li><li class="src short"><a href="#v:unsafeFreezeArray-35-">unsafeFreezeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Array-35-">Array#</a> a#)</li><li class="src short"><a href="#v:unsafeThawArray-35-">unsafeThawArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</li><li class="src short"><a href="#v:copyArray-35-">copyArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:copyMutableArray-35-">copyMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:cloneArray-35-">cloneArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Array-35-">Array#</a> a</li><li class="src short"><a href="#v:cloneMutableArray-35-">cloneMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</li><li class="src short"><a href="#v:freezeArray-35-">freezeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Array-35-">Array#</a> a#)</li><li class="src short"><a href="#v:thawArray-35-">thawArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:ByteArray-35-">ByteArray#</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:MutableByteArray-35-">MutableByteArray#</a> s</li><li class="src short"><a href="#v:newByteArray-35-">newByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</li><li class="src short"><a href="#v:newPinnedByteArray-35-">newPinnedByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</li><li class="src short"><a href="#v:newAlignedPinnedByteArray-35-">newAlignedPinnedByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</li><li class="src short"><a href="#v:byteArrayContents-35-">byteArrayContents#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:sameMutableByteArray-35-">sameMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:unsafeFreezeByteArray-35-">unsafeFreezeByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</li><li class="src short"><a href="#v:sizeofByteArray-35-">sizeofByteArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:sizeofMutableByteArray-35-">sizeofMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexCharArray-35-">indexCharArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></li><li class="src short"><a href="#v:indexWideCharArray-35-">indexWideCharArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></li><li class="src short"><a href="#v:indexIntArray-35-">indexIntArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexWordArray-35-">indexWordArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexAddrArray-35-">indexAddrArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:indexFloatArray-35-">indexFloatArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:indexDoubleArray-35-">indexDoubleArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:indexStablePtrArray-35-">indexStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a</li><li class="src short"><a href="#v:indexInt8Array-35-">indexInt8Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt16Array-35-">indexInt16Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt32Array-35-">indexInt32Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt64Array-35-">indexInt64Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a></li><li class="src short"><a href="#v:indexWord8Array-35-">indexWord8Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord16Array-35-">indexWord16Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord32Array-35-">indexWord32Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord64Array-35-">indexWord64Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a></li><li class="src short"><a href="#v:readCharArray-35-">readCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</li><li class="src short"><a href="#v:readWideCharArray-35-">readWideCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</li><li class="src short"><a href="#v:readIntArray-35-">readIntArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readWordArray-35-">readWordArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readAddrArray-35-">readAddrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</li><li class="src short"><a href="#v:readFloatArray-35-">readFloatArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Float-35-">Float#</a>#)</li><li class="src short"><a href="#v:readDoubleArray-35-">readDoubleArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Double-35-">Double#</a>#)</li><li class="src short"><a href="#v:readStablePtrArray-35-">readStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</li><li class="src short"><a href="#v:readInt8Array-35-">readInt8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt16Array-35-">readInt16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt32Array-35-">readInt32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt64Array-35-">readInt64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int64-35-">Int64#</a>#)</li><li class="src short"><a href="#v:readWord8Array-35-">readWord8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord16Array-35-">readWord16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord32Array-35-">readWord32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord64Array-35-">readWord64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word64-35-">Word64#</a>#)</li><li class="src short"><a href="#v:writeCharArray-35-">writeCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWideCharArray-35-">writeWideCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeIntArray-35-">writeIntArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWordArray-35-">writeWordArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeAddrArray-35-">writeAddrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeFloatArray-35-">writeFloatArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeDoubleArray-35-">writeDoubleArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeStablePtrArray-35-">writeStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt8Array-35-">writeInt8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt16Array-35-">writeInt16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt32Array-35-">writeInt32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt64Array-35-">writeInt64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord8Array-35-">writeWord8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord16Array-35-">writeWord16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord32Array-35-">writeWord32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord64Array-35-">writeWord64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:copyByteArray-35-">copyByteArray#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:copyMutableByteArray-35-">copyMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><span class="keyword">data</span>  <a href="#t:ArrayArray-35-">ArrayArray#</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:MutableArrayArray-35-">MutableArrayArray#</a> s</li><li class="src short"><a href="#v:newArrayArray-35-">newArrayArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s#)</li><li class="src short"><a href="#v:sameMutableArrayArray-35-">sameMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:unsafeFreezeArrayArray-35-">unsafeFreezeArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a>#)</li><li class="src short"><a href="#v:sizeofArrayArray-35-">sizeofArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:sizeofMutableArrayArray-35-">sizeofMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexByteArrayArray-35-">indexByteArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a></li><li class="src short"><a href="#v:indexArrayArrayArray-35-">indexArrayArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a></li><li class="src short"><a href="#v:readByteArrayArray-35-">readByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</li><li class="src short"><a href="#v:readMutableByteArrayArray-35-">readMutableByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</li><li class="src short"><a href="#v:readArrayArrayArray-35-">readArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a>#)</li><li class="src short"><a href="#v:readMutableArrayArrayArray-35-">readMutableArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s#)</li><li class="src short"><a href="#v:writeByteArrayArray-35-">writeByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeMutableByteArrayArray-35-">writeMutableByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeArrayArrayArray-35-">writeArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeMutableArrayArrayArray-35-">writeMutableArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:copyArrayArray-35-">copyArrayArray#</a> ::  <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:copyMutableArrayArray-35-">copyMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Addr-35-">Addr#</a> </li><li class="src short"><a href="#v:nullAddr-35-">nullAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:plusAddr-35-">plusAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:minusAddr-35-">minusAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:remAddr-35-">remAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:addr2Int-35-">addr2Int#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:int2Addr-35-">int2Addr#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:gtAddr-35-">gtAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:geAddr-35-">geAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:eqAddr-35-">eqAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:neAddr-35-">neAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:ltAddr-35-">ltAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:leAddr-35-">leAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:indexCharOffAddr-35-">indexCharOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></li><li class="src short"><a href="#v:indexWideCharOffAddr-35-">indexWideCharOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></li><li class="src short"><a href="#v:indexIntOffAddr-35-">indexIntOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexWordOffAddr-35-">indexWordOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexAddrOffAddr-35-">indexAddrOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></li><li class="src short"><a href="#v:indexFloatOffAddr-35-">indexFloatOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></li><li class="src short"><a href="#v:indexDoubleOffAddr-35-">indexDoubleOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></li><li class="src short"><a href="#v:indexStablePtrOffAddr-35-">indexStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a</li><li class="src short"><a href="#v:indexInt8OffAddr-35-">indexInt8OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt16OffAddr-35-">indexInt16OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt32OffAddr-35-">indexInt32OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:indexInt64OffAddr-35-">indexInt64OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a></li><li class="src short"><a href="#v:indexWord8OffAddr-35-">indexWord8OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord16OffAddr-35-">indexWord16OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord32OffAddr-35-">indexWord32OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></li><li class="src short"><a href="#v:indexWord64OffAddr-35-">indexWord64OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a></li><li class="src short"><a href="#v:readCharOffAddr-35-">readCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</li><li class="src short"><a href="#v:readWideCharOffAddr-35-">readWideCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</li><li class="src short"><a href="#v:readIntOffAddr-35-">readIntOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readWordOffAddr-35-">readWordOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readAddrOffAddr-35-">readAddrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</li><li class="src short"><a href="#v:readFloatOffAddr-35-">readFloatOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Float-35-">Float#</a>#)</li><li class="src short"><a href="#v:readDoubleOffAddr-35-">readDoubleOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Double-35-">Double#</a>#)</li><li class="src short"><a href="#v:readStablePtrOffAddr-35-">readStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</li><li class="src short"><a href="#v:readInt8OffAddr-35-">readInt8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt16OffAddr-35-">readInt16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt32OffAddr-35-">readInt32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:readInt64OffAddr-35-">readInt64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int64-35-">Int64#</a>#)</li><li class="src short"><a href="#v:readWord8OffAddr-35-">readWord8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord16OffAddr-35-">readWord16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord32OffAddr-35-">readWord32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</li><li class="src short"><a href="#v:readWord64OffAddr-35-">readWord64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word64-35-">Word64#</a>#)</li><li class="src short"><a href="#v:writeCharOffAddr-35-">writeCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWideCharOffAddr-35-">writeWideCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeIntOffAddr-35-">writeIntOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWordOffAddr-35-">writeWordOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeAddrOffAddr-35-">writeAddrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeFloatOffAddr-35-">writeFloatOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeDoubleOffAddr-35-">writeDoubleOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeStablePtrOffAddr-35-">writeStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt8OffAddr-35-">writeInt8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt16OffAddr-35-">writeInt16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt32OffAddr-35-">writeInt32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeInt64OffAddr-35-">writeInt64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord8OffAddr-35-">writeWord8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord16OffAddr-35-">writeWord16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord32OffAddr-35-">writeWord32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:writeWord64OffAddr-35-">writeWord64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><span class="keyword">data</span>  <a href="#t:MutVar-35-">MutVar#</a> s a</li><li class="src short"><a href="#v:newMutVar-35-">newMutVar#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a#)</li><li class="src short"><a href="#v:readMutVar-35-">readMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:writeMutVar-35-">writeMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:sameMutVar-35-">sameMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:atomicModifyMutVar-35-">atomicModifyMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; (a -&gt; b) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, c#)</li><li class="src short"><a href="#v:casMutVar-35-">casMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</li><li class="src short"><a href="#v:catch-35-">catch#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (b -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:raise-35-">raise#</a> ::  a -&gt; b</li><li class="src short"><a href="#v:raiseIO-35-">raiseIO#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, b#)</li><li class="src short"><a href="#v:maskAsyncExceptions-35-">maskAsyncExceptions#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:maskUninterruptible-35-">maskUninterruptible#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:unmaskAsyncExceptions-35-">unmaskAsyncExceptions#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:getMaskingState-35-">getMaskingState#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:TVar-35-">TVar#</a> s a</li><li class="src short"><a href="#v:atomically-35-">atomically#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:retry-35-">retry#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:catchRetry-35-">catchRetry#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:catchSTM-35-">catchSTM#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (b -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:check-35-">check#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Tuple.html#t:-40--41-">()</a>#)</li><li class="src short"><a href="#v:newTVar-35-">newTVar#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a#)</li><li class="src short"><a href="#v:readTVar-35-">readTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:readTVarIO-35-">readTVarIO#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:writeTVar-35-">writeTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:sameTVar-35-">sameTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:MVar-35-">MVar#</a> s a</li><li class="src short"><a href="#v:newMVar-35-">newMVar#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a#)</li><li class="src short"><a href="#v:takeMVar-35-">takeMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:tryTakeMVar-35-">tryTakeMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</li><li class="src short"><a href="#v:putMVar-35-">putMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:tryPutMVar-35-">tryPutMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:sameMVar-35-">sameMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isEmptyMVar-35-">isEmptyMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:delay-35-">delay#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:waitRead-35-">waitRead#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><a href="#v:waitWrite-35-">waitWrite#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li><li class="src short"><span class="keyword">data</span>  <a href="#t:State-35-">State#</a> s</li><li class="src short"><span class="keyword">data</span>  <a href="#t:RealWorld">RealWorld</a> </li><li class="src short"><span class="keyword">data</span>  <a href="#t:ThreadId-35-">ThreadId#</a> </li><li class="src short"><a href="#v:fork-35-">fork#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</li><li class="src short"><a href="#v:forkOn-35-">forkOn#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</li><li class="src short"><a href="#v:killThread-35-">killThread#</a> ::  <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:yield-35-">yield#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:myThreadId-35-">myThreadId#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</li><li class="src short"><a href="#v:labelThread-35-">labelThread#</a> :: <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:isCurrentThreadBound-35-">isCurrentThreadBound#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:noDuplicate-35-">noDuplicate#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></li><li class="src short"><a href="#v:threadStatus-35-">threadStatus#</a> :: <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Weak-35-">Weak#</a> b</li><li class="src short"><a href="#v:mkWeak-35-">mkWeak#</a> ::  o -&gt; b -&gt; c -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> b#)</li><li class="src short"><a href="#v:mkWeakForeignEnv-35-">mkWeakForeignEnv#</a> ::  o -&gt; b -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> b#)</li><li class="src short"><a href="#v:deRefWeak-35-">deRefWeak#</a> ::  <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</li><li class="src short"><a href="#v:finalizeWeak-35-">finalizeWeak#</a> ::  <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Tuple.html#t:-40--41-">()</a>#)#)</li><li class="src short"><a href="#v:touch-35-">touch#</a> ::  o -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:StablePtr-35-">StablePtr#</a> a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:StableName-35-">StableName#</a> a</li><li class="src short"><a href="#v:makeStablePtr-35-">makeStablePtr#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</li><li class="src short"><a href="#v:deRefStablePtr-35-">deRefStablePtr#</a> ::  <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</li><li class="src short"><a href="#v:eqStablePtr-35-">eqStablePtr#</a> ::  <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:makeStableName-35-">makeStableName#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a#)</li><li class="src short"><a href="#v:eqStableName-35-">eqStableName#</a> ::  <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:stableNameToInt-35-">stableNameToInt#</a> ::  <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:reallyUnsafePtrEquality-35-">reallyUnsafePtrEquality#</a> ::  a -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:par-35-">par#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:spark-35-">spark#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:seq-35-">seq#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</li><li class="src short"><a href="#v:getSpark-35-">getSpark#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</li><li class="src short"><a href="#v:numSparks-35-">numSparks#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</li><li class="src short"><a href="#v:parGlobal-35-">parGlobal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:parLocal-35-">parLocal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:parAt-35-">parAt#</a> ::  b -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; c -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:parAtAbs-35-">parAtAbs#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:parAtRel-35-">parAtRel#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:parAtForNow-35-">parAtForNow#</a> ::  b -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; c -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:dataToTag-35-">dataToTag#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></li><li class="src short"><a href="#v:tagToEnum-35-">tagToEnum#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:BCO-35-">BCO#</a> </li><li class="src short"><a href="#v:addrToAny-35-">addrToAny#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; (#a#)</li><li class="src short"><a href="#v:mkApUpd0-35-">mkApUpd0#</a> ::  <a href="GHC-Prim.html#t:BCO-35-">BCO#</a> -&gt; (#a#)</li><li class="src short"><a href="#v:newBCO-35-">newBCO#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:BCO-35-">BCO#</a>#)</li><li class="src short"><a href="#v:unpackClosure-35-">unpackClosure#</a> ::  a -&gt; (#<a href="GHC-Prim.html#t:Addr-35-">Addr#</a>, <a href="GHC-Prim.html#t:Array-35-">Array#</a> b, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</li><li class="src short"><a href="#v:getApStackVal-35-">getApStackVal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, b#)</li><li class="src short"><a href="#v:getCCSOf-35-">getCCSOf#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</li><li class="src short"><a href="#v:getCurrentCCS-35-">getCurrentCCS#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</li><li class="src short"><a href="#v:seq">seq</a> ::  a -&gt; b -&gt; b</li><li class="src short"><a href="#v:inline">inline</a> ::  a -&gt; a</li><li class="src short"><a href="#v:lazy">lazy</a> ::  a -&gt; a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Any">Any</a> k</li><li class="src short"><span class="keyword">data</span>  <a href="#t:AnyK">AnyK</a> </li><li class="src short"><a href="#v:unsafeCoerce-35-">unsafeCoerce#</a> ::  a -&gt; b</li><li class="src short"><a href="#v:traceEvent-35-">traceEvent#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</li></ul></div><div id="interface"><h1 id="g:1">The word size story.
</h1><div class="doc"><p>Haskell98 specifies that signed integers (type <code>Int</code>)
 	 must contain at least 30 bits. GHC always implements <code>Int</code> using the primitive type <code>Int#</code>, whose size equals
 	 the <code>MachDeps.h</code> constant <code>WORD_SIZE_IN_BITS</code>.
 	 This is normally set based on the <code>config.h</code> parameter
 	 <code>SIZEOF_HSWORD</code>, i.e., 32 bits on 32-bit machines, 64
 	 bits on 64-bit machines.  However, it can also be explicitly
 	 set to a smaller number, e.g., 31 bits, to allow the
 	 possibility of using tag bits. Currently GHC itself has only
 	 32-bit and 64-bit variants, but 30 or 31-bit code can be
 	 exported as an external core file for use in other back ends.
</p><p>GHC also implements a primitive unsigned integer type <code>Word#</code> which always has the same number of bits as <code>Int#</code>.
</p><p>In addition, GHC supports families of explicit-sized integers
 	 and words at 8, 16, 32, and 64 bits, with the usual
 	 arithmetic operations, comparisons, and a range of
 	 conversions.  The 8-bit and 16-bit sizes are always
 	 represented as <code>Int#</code> and <code>Word#</code>, and the
 	 operations implemented in terms of the the primops on these
 	 types, with suitable range restrictions on the results (using
 	 the <code>narrow$n$Int#</code> and <code>narrow$n$Word#</code> families
 	 of primops.  The 32-bit sizes are represented using <code>Int#</code> and <code>Word#</code> when <code>WORD_SIZE_IN_BITS</code>
 	 $geq$ 32; otherwise, these are represented using distinct
 	 primitive types <code>Int32#</code> and <code>Word32#</code>. These (when
 	 needed) have a complete set of corresponding operations;
 	 however, nearly all of these are implemented as external C
 	 functions rather than as primops.  Exactly the same story
 	 applies to the 64-bit sizes.  All of these details are hidden
 	 under the <code>PrelInt</code> and <code>PrelWord</code> modules, which use
 	 <code>#if</code>-defs to invoke the appropriate types and
 	 operators.
</p><p>Word size also matters for the families of primops for
 	 indexing/reading/writing fixed-size quantities at offsets
 	 from an array base, address, or foreign pointer.  Here, a
 	 slightly different approach is taken.  The names of these
 	 primops are fixed, but their <em>types</em> vary according to
 	 the value of <code>WORD_SIZE_IN_BITS</code>. For example, if word
 	 size is at least 32 bits then an operator like
 	 <code>indexInt32Array#</code> has type <code>ByteArray# -&gt; Int# 	 -&gt; Int#</code>; otherwise it has type <code>ByteArray# -&gt; Int# -&gt; 	 Int32#</code>.  This approach confines the necessary <code>#if</code>-defs to this file; no conditional compilation is needed
 	 in the files that expose these primops.
</p><p>Finally, there are strongly deprecated primops for coercing
          between <code>Addr#</code>, the primitive type of machine
          addresses, and <code>Int#</code>.  These are pretty bogus anyway,
          but will work on existing 32-bit and 64-bit GHC targets; they
          are completely bogus when tag bits are used in <code>Int#</code>,
          so are not available in this case.  
</p></div><h1 id="g:2">Char#
</h1><div class="doc"><p>Operations on 31-bit characters.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Char-35-" class="def">Char#</a>  </p></div><div class="top"><p class="src"><a name="v:gtChar-35-" class="def">gtChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:geChar-35-" class="def">geChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:eqChar-35-" class="def">eqChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:neChar-35-" class="def">neChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:ltChar-35-" class="def">ltChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:leChar-35-" class="def">leChar#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:ord-35-" class="def">ord#</a> :: <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><h1 id="g:3">Int#
</h1><div class="doc"><p>Operations on native-size integers (30+ bits).
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Int-35-" class="def">Int#</a>  </p></div><div class="top"><p class="src"><a name="v:-43--35-" class="def">(+#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:-45--35-" class="def">(-#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:-42--35-" class="def">(*#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Low word of signed integer multiply.
</p></div></div><div class="top"><p class="src"><a name="v:mulIntMayOflo-35-" class="def">mulIntMayOflo#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return non-zero if there is any possibility that the upper word of a
     signed integer multiply might contain useful information.  Return
     zero only if you are completely sure that no overflow can occur.
     On a 32-bit platform, the recommmended implementation is to do a 
     32 x 32 -&gt; 64 signed multiply, and subtract result[63:32] from
     (result[31] &gt;&gt;signed 31).  If this is zero, meaning that the 
     upper word is merely a sign extension of the lower one, no
     overflow can occur.
</p><p>On a 64-bit platform it is not always possible to 
     acquire the top 64 bits of the result.  Therefore, a recommended 
     implementation is to take the absolute value of both operands, and 
     return 0 iff bits[63:31] of them are zero, since that means that their 
     magnitudes fit within 31 bits, so the magnitude of the product must fit 
     into 62 bits.
</p><p>If in doubt, return non-zero, but do make an effort to create the
     correct answer for small args, since otherwise the performance of
     <code>(*) :: Integer -&gt; Integer -&gt; Integer</code> will be poor.
</p></div></div><div class="top"><p class="src"><a name="v:quotInt-35-" class="def">quotInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Rounds towards zero.
</p></div></div><div class="top"><p class="src"><a name="v:remInt-35-" class="def">remInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Satisfies <code>(quotInt# x y) *# y +# (remInt# x y) == x</code>.
</p></div></div><div class="top"><p class="src"><a name="v:negateInt-35-" class="def">negateInt#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:addIntC-35-" class="def">addIntC#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Add with carry.  First member of result is (wrapped) sum; 
           second member is 0 iff no overflow occured.
</p></div></div><div class="top"><p class="src"><a name="v:subIntC-35-" class="def">subIntC#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Subtract with carry.  First member of result is (wrapped) difference; 
           second member is 0 iff no overflow occured.
</p></div></div><div class="top"><p class="src"><a name="v:-62--35-" class="def">(&gt;#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-62--61--35-" class="def">(&gt;=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-61--61--35-" class="def">(==#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-47--61--35-" class="def">(/=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-60--35-" class="def">(&lt;#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-60--61--35-" class="def">(&lt;=#)</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:chr-35-" class="def">chr#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></p></div><div class="top"><p class="src"><a name="v:int2Word-35-" class="def">int2Word#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:int2Float-35-" class="def">int2Float#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:int2Double-35-" class="def">int2Double#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:uncheckedIShiftL-35-" class="def">uncheckedIShiftL#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Shift left.  Result undefined if shift amount is not
           in the range 0 to word size - 1 inclusive.
</p></div></div><div class="top"><p class="src"><a name="v:uncheckedIShiftRA-35-" class="def">uncheckedIShiftRA#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Shift right arithmetic.  Result undefined if shift amount is not
           in the range 0 to word size - 1 inclusive.
</p></div></div><div class="top"><p class="src"><a name="v:uncheckedIShiftRL-35-" class="def">uncheckedIShiftRL#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Shift right logical.  Result undefined if shift amount is not
           in the range 0 to word size - 1 inclusive.
</p></div></div><h1 id="g:4">Word#
</h1><div class="doc"><p>Operations on native-sized unsigned words (30+ bits).
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Word-35-" class="def">Word#</a>  </p></div><div class="top"><p class="src"><a name="v:plusWord-35-" class="def">plusWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:minusWord-35-" class="def">minusWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:timesWord-35-" class="def">timesWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:quotWord-35-" class="def">quotWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:remWord-35-" class="def">remWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:and-35-" class="def">and#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:or-35-" class="def">or#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:xor-35-" class="def">xor#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:not-35-" class="def">not#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:uncheckedShiftL-35-" class="def">uncheckedShiftL#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Shift left logical.   Result undefined if shift amount is not
           in the range 0 to word size - 1 inclusive.
</p></div></div><div class="top"><p class="src"><a name="v:uncheckedShiftRL-35-" class="def">uncheckedShiftRL#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Shift right logical.   Result undefined if shift  amount is not
           in the range 0 to word size - 1 inclusive.
</p></div></div><div class="top"><p class="src"><a name="v:word2Int-35-" class="def">word2Int#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:gtWord-35-" class="def">gtWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:geWord-35-" class="def">geWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:eqWord-35-" class="def">eqWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:neWord-35-" class="def">neWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:ltWord-35-" class="def">ltWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:leWord-35-" class="def">leWord#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:popCnt8-35-" class="def">popCnt8#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Count the number of set bits in the lower 8 bits of a word.
</p></div></div><div class="top"><p class="src"><a name="v:popCnt16-35-" class="def">popCnt16#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Count the number of set bits in the lower 16 bits of a word.
</p></div></div><div class="top"><p class="src"><a name="v:popCnt32-35-" class="def">popCnt32#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Count the number of set bits in the lower 32 bits of a word.
</p></div></div><div class="top"><p class="src"><a name="v:popCnt64-35-" class="def">popCnt64#</a> :: <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Count the number of set bits in a 64-bit word.
</p></div></div><div class="top"><p class="src"><a name="v:popCnt-35-" class="def">popCnt#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p><div class="doc"><p>Count the number of set bits in a word.
</p></div></div><h1 id="g:5">Narrowings
</h1><div class="doc"><p>Explicit narrowing of native-sized ints or words.
</p></div><div class="top"><p class="src"><a name="v:narrow8Int-35-" class="def">narrow8Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:narrow16Int-35-" class="def">narrow16Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:narrow32Int-35-" class="def">narrow32Int#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:narrow8Word-35-" class="def">narrow8Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:narrow16Word-35-" class="def">narrow16Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:narrow32Word-35-" class="def">narrow32Word#</a> :: <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><h1 id="g:6">Int64#
</h1><div class="doc"><p>Operations on 64-bit unsigned words. This type is only used 
 	 if plain <code>Int#</code> has less than 64 bits. In any case, the operations
 	 are not primops; they are implemented (if needed) as ccalls instead.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Int64-35-" class="def">Int64#</a>  </p></div><h1 id="g:7">Word64#
</h1><div class="doc"><p>Operations on 64-bit unsigned words. This type is only used 
 	 if plain <code>Word#</code> has less than 64 bits. In any case, the operations
 	 are not primops; they are implemented (if needed) as ccalls instead.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Word64-35-" class="def">Word64#</a>  </p></div><h1 id="g:8">Double#
</h1><div class="doc"><p>Operations on double-precision (64 bit) floating-point numbers.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Double-35-" class="def">Double#</a>  </p></div><div class="top"><p class="src"><a name="v:-62--35--35-" class="def">(&gt;##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-62--61--35--35-" class="def">(&gt;=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-61--61--35--35-" class="def">(==##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-47--61--35--35-" class="def">(/=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-60--35--35-" class="def">(&lt;##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-60--61--35--35-" class="def">(&lt;=##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:-43--35--35-" class="def">(+##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:-45--35--35-" class="def">(-##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:-42--35--35-" class="def">(*##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:-47--35--35-" class="def">(/##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:negateDouble-35-" class="def">negateDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:double2Int-35-" class="def">double2Int#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Truncates a <code>Double<a name="@ value to the nearest @Int"></a></code>.
     Results are undefined if the truncation if truncation yields
     a value outside the range of <code>Int#</code>.
</p></div></div><div class="top"><p class="src"><a name="v:double2Float-35-" class="def">double2Float#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:expDouble-35-" class="def">expDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:logDouble-35-" class="def">logDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:sqrtDouble-35-" class="def">sqrtDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:sinDouble-35-" class="def">sinDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:cosDouble-35-" class="def">cosDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:tanDouble-35-" class="def">tanDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:asinDouble-35-" class="def">asinDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:acosDouble-35-" class="def">acosDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:atanDouble-35-" class="def">atanDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:sinhDouble-35-" class="def">sinhDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:coshDouble-35-" class="def">coshDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:tanhDouble-35-" class="def">tanhDouble#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:-42--42--35--35-" class="def">(**##)</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p><div class="doc"><p>Exponentiation.
</p></div></div><div class="top"><p class="src"><a name="v:decodeDouble_2Int-35-" class="def">decodeDouble_2Int#</a> :: <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Word-35-">Word#</a>, <a href="GHC-Prim.html#t:Word-35-">Word#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Convert to integer.
     First component of the result is -1 or 1, indicating the sign of the
     mantissa. The next two are the high and low 32 bits of the mantissa
     respectively, and the last is the exponent.
</p></div></div><h1 id="g:9">Float#
</h1><div class="doc"><p>Operations on single-precision (32-bit) floating-point numbers.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Float-35-" class="def">Float#</a>  </p></div><div class="top"><p class="src"><a name="v:gtFloat-35-" class="def">gtFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:geFloat-35-" class="def">geFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:eqFloat-35-" class="def">eqFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:neFloat-35-" class="def">neFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:ltFloat-35-" class="def">ltFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:leFloat-35-" class="def">leFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:plusFloat-35-" class="def">plusFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:minusFloat-35-" class="def">minusFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:timesFloat-35-" class="def">timesFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:divideFloat-35-" class="def">divideFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:negateFloat-35-" class="def">negateFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:float2Int-35-" class="def">float2Int#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Truncates a <code>Float<a name="@ value to the nearest @Int"></a></code>.
     Results are undefined if the truncation if truncation yields
     a value outside the range of <code>Int#</code>.
</p></div></div><div class="top"><p class="src"><a name="v:expFloat-35-" class="def">expFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:logFloat-35-" class="def">logFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:sqrtFloat-35-" class="def">sqrtFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:sinFloat-35-" class="def">sinFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:cosFloat-35-" class="def">cosFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:tanFloat-35-" class="def">tanFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:asinFloat-35-" class="def">asinFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:acosFloat-35-" class="def">acosFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:atanFloat-35-" class="def">atanFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:sinhFloat-35-" class="def">sinhFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:coshFloat-35-" class="def">coshFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:tanhFloat-35-" class="def">tanhFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:powerFloat-35-" class="def">powerFloat#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:float2Double-35-" class="def">float2Double#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:decodeFloat_Int-35-" class="def">decodeFloat_Int#</a> :: <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Convert to integers.
     First <code>Int#</code> in result is the mantissa; second is the exponent.
</p></div></div><h1 id="g:10">Arrays
</h1><div class="doc"><p>Operations on <code>Array#</code>.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Array-35-" class="def">Array#</a> a </p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MutableArray-35-" class="def">MutableArray#</a> s a </p></div><div class="top"><p class="src"><a name="v:newArray-35-" class="def">newArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</p><div class="doc"><p>Create a new mutable array with the specified number of elements,
     in the specified state thread,
     with each element containing the specified initial value.
</p></div></div><div class="top"><p class="src"><a name="v:sameMutableArray-35-" class="def">sameMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:readArray-35-" class="def">readArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p><div class="doc"><p>Read from specified index of mutable array. Result is not yet evaluated.
</p></div></div><div class="top"><p class="src"><a name="v:writeArray-35-" class="def">writeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Write to specified index of mutable array.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofArray-35-" class="def">sizeofArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the number of elements in the array.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofMutableArray-35-" class="def">sizeofMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the number of elements in the array.
</p></div></div><div class="top"><p class="src"><a name="v:indexArray-35-" class="def">indexArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#a#)</p><div class="doc"><p>Read from specified index of immutable array. Result is packaged into
     an unboxed singleton; the result itself is not yet evaluated.
</p></div></div><div class="top"><p class="src"><a name="v:unsafeFreezeArray-35-" class="def">unsafeFreezeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Array-35-">Array#</a> a#)</p><div class="doc"><p>Make a mutable array immutable, without copying.
</p></div></div><div class="top"><p class="src"><a name="v:unsafeThawArray-35-" class="def">unsafeThawArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</p><div class="doc"><p>Make an immutable array mutable, without copying.
</p></div></div><div class="top"><p class="src"><a name="v:copyArray-35-" class="def">copyArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the Array<a name=" to the specified region in the MutableArray"></a>.
    Both arrays must fully contain the specified ranges, but this is not checked.
    The two arrays must not be the same array in different states, but this is not checked either.
</p></div></div><div class="top"><p class="src"><a name="v:copyMutableArray-35-" class="def">copyMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the first MutableArray<a name=" to the specified region in the second MutableArray"></a>.
    Both arrays must fully contain the specified ranges, but this is not checked.
</p></div></div><div class="top"><p class="src"><a name="v:cloneArray-35-" class="def">cloneArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Array-35-">Array#</a> a</p><div class="doc"><p>Return a newly allocated Array<a name=" with the specified subrange of the provided Array"></a>. 
    The provided Array<a name=" should contain the full subrange specified by the two Int"></a>s, but this is not checked.
</p></div></div><div class="top"><p class="src"><a name="v:cloneMutableArray-35-" class="def">cloneMutableArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</p><div class="doc"><p>Return a newly allocated Array<a name=" with the specified subrange of the provided Array"></a>.
    The provided MutableArray<a name=" should contain the full subrange specified by the two Int"></a>s, but this is not checked.
</p></div></div><div class="top"><p class="src"><a name="v:freezeArray-35-" class="def">freezeArray#</a> ::  <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Array-35-">Array#</a> a#)</p><div class="doc"><p>Return a newly allocated Array<a name=" with the specified subrange of the provided MutableArray"></a>.
    The provided MutableArray<a name=" should contain the full subrange specified by the two Int"></a>s, but this is not checked.
</p></div></div><div class="top"><p class="src"><a name="v:thawArray-35-" class="def">thawArray#</a> ::  <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArray-35-">MutableArray#</a> s a#)</p><div class="doc"><p>Return a newly allocated Array<a name=" with the specified subrange of the provided MutableArray"></a>.
    The provided Array<a name=" should contain the full subrange specified by the two Int"></a>s, but this is not checked.
</p></div></div><h1 id="g:11">Byte Arrays
</h1><div class="doc"><p>Operations on <code>ByteArray#</code>. A <code>ByteArray#</code> is a just a region of
          raw memory in the garbage-collected heap, which is not
          scanned for pointers. It carries its own size (in bytes).
          There are
          three sets of operations for accessing byte array contents:
          index for reading from immutable byte arrays, and read/write
          for mutable byte arrays.  Each set contains operations for a
          range of useful primitive data types.  Each operation takes
          an offset measured in terms of the size of the primitive type
          being read or written.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ByteArray-35-" class="def">ByteArray#</a>  </p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MutableByteArray-35-" class="def">MutableByteArray#</a> s </p></div><div class="top"><p class="src"><a name="v:newByteArray-35-" class="def">newByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</p><div class="doc"><p>Create a new mutable byte array of specified size (in bytes), in
     the specified state thread.
</p></div></div><div class="top"><p class="src"><a name="v:newPinnedByteArray-35-" class="def">newPinnedByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</p><div class="doc"><p>Create a mutable byte array that the GC guarantees not to move.
</p></div></div><div class="top"><p class="src"><a name="v:newAlignedPinnedByteArray-35-" class="def">newAlignedPinnedByteArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</p><div class="doc"><p>Create a mutable byte array, aligned by the specified amount, that the GC guarantees not to move.
</p></div></div><div class="top"><p class="src"><a name="v:byteArrayContents-35-" class="def">byteArrayContents#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p><div class="doc"><p>Intended for use with pinned arrays; otherwise very unsafe!
</p></div></div><div class="top"><p class="src"><a name="v:sameMutableByteArray-35-" class="def">sameMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:unsafeFreezeByteArray-35-" class="def">unsafeFreezeByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</p><div class="doc"><p>Make a mutable byte array immutable, without copying.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofByteArray-35-" class="def">sizeofByteArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the size of the array in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofMutableByteArray-35-" class="def">sizeofMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the size of the array in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:indexCharArray-35-" class="def">indexCharArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></p><div class="doc"><p>Read 8-bit character; offset in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:indexWideCharArray-35-" class="def">indexWideCharArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></p><div class="doc"><p>Read 31-bit character; offset in 4-byte words.
</p></div></div><div class="top"><p class="src"><a name="v:indexIntArray-35-" class="def">indexIntArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexWordArray-35-" class="def">indexWordArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexAddrArray-35-" class="def">indexAddrArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p></div><div class="top"><p class="src"><a name="v:indexFloatArray-35-" class="def">indexFloatArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:indexDoubleArray-35-" class="def">indexDoubleArray#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:indexStablePtrArray-35-" class="def">indexStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a</p></div><div class="top"><p class="src"><a name="v:indexInt8Array-35-" class="def">indexInt8Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt16Array-35-" class="def">indexInt16Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt32Array-35-" class="def">indexInt32Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt64Array-35-" class="def">indexInt64Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a></p></div><div class="top"><p class="src"><a name="v:indexWord8Array-35-" class="def">indexWord8Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord16Array-35-" class="def">indexWord16Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord32Array-35-" class="def">indexWord32Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord64Array-35-" class="def">indexWord64Array#</a> :: <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a></p></div><div class="top"><p class="src"><a name="v:readCharArray-35-" class="def">readCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</p><div class="doc"><p>Read 8-bit character; offset in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:readWideCharArray-35-" class="def">readWideCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</p><div class="doc"><p>Read 31-bit character; offset in 4-byte words.
</p></div></div><div class="top"><p class="src"><a name="v:readIntArray-35-" class="def">readIntArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWordArray-35-" class="def">readWordArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readAddrArray-35-" class="def">readAddrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</p></div><div class="top"><p class="src"><a name="v:readFloatArray-35-" class="def">readFloatArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Float-35-">Float#</a>#)</p></div><div class="top"><p class="src"><a name="v:readDoubleArray-35-" class="def">readDoubleArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Double-35-">Double#</a>#)</p></div><div class="top"><p class="src"><a name="v:readStablePtrArray-35-" class="def">readStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</p></div><div class="top"><p class="src"><a name="v:readInt8Array-35-" class="def">readInt8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt16Array-35-" class="def">readInt16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt32Array-35-" class="def">readInt32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt64Array-35-" class="def">readInt64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int64-35-">Int64#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord8Array-35-" class="def">readWord8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord16Array-35-" class="def">readWord16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord32Array-35-" class="def">readWord32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord64Array-35-" class="def">readWord64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word64-35-">Word64#</a>#)</p></div><div class="top"><p class="src"><a name="v:writeCharArray-35-" class="def">writeCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Write 8-bit character; offset in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:writeWideCharArray-35-" class="def">writeWideCharArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Write 31-bit character; offset in 4-byte words.
</p></div></div><div class="top"><p class="src"><a name="v:writeIntArray-35-" class="def">writeIntArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWordArray-35-" class="def">writeWordArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeAddrArray-35-" class="def">writeAddrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeFloatArray-35-" class="def">writeFloatArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeDoubleArray-35-" class="def">writeDoubleArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeStablePtrArray-35-" class="def">writeStablePtrArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt8Array-35-" class="def">writeInt8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt16Array-35-" class="def">writeInt16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt32Array-35-" class="def">writeInt32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt64Array-35-" class="def">writeInt64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord8Array-35-" class="def">writeWord8Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord16Array-35-" class="def">writeWord16Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord32Array-35-" class="def">writeWord32Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord64Array-35-" class="def">writeWord64Array#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:copyByteArray-35-" class="def">copyByteArray#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the ByteArray<a name=" to the specified region in the MutableByteArray"></a>.
    Both arrays must fully contain the specified ranges, but this is not checked.
    The two arrays must not be the same array in different states, but this is not checked either.
</p></div></div><div class="top"><p class="src"><a name="v:copyMutableByteArray-35-" class="def">copyMutableByteArray#</a> ::  <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the first MutableByteArray<a name=" to the specified region in the second MutableByteArray"></a>.
    Both arrays must fully contain the specified ranges, but this is not checked.
</p></div></div><h1 id="g:12">Arrays of arrays
</h1><div class="doc"><p>Operations on <code>ArrayArray#</code>. An <code>ArrayArray#</code> contains references to {em unpointed}
 	 arrays, such as <code>ByteArray#s</code>. Hence, it is not parameterised by the element types,
 	 just like a <code>ByteArray#</code>, but it needs to be scanned during GC, just like an <code>Array#</code>.
 	 We represent an <code>ArrayArray#</code> exactly as a <code>Array#</code>, but provide element-type-specific
 	 indexing, reading, and writing.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ArrayArray-35-" class="def">ArrayArray#</a>  </p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MutableArrayArray-35-" class="def">MutableArrayArray#</a> s </p></div><div class="top"><p class="src"><a name="v:newArrayArray-35-" class="def">newArrayArray#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s#)</p><div class="doc"><p>Create a new mutable array of arrays with the specified number of elements,
     in the specified state thread, with each element recursively referring to the
     newly created array.
</p></div></div><div class="top"><p class="src"><a name="v:sameMutableArrayArray-35-" class="def">sameMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:unsafeFreezeArrayArray-35-" class="def">unsafeFreezeArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a>#)</p><div class="doc"><p>Make a mutable array of arrays immutable, without copying.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofArrayArray-35-" class="def">sizeofArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the number of elements in the array.
</p></div></div><div class="top"><p class="src"><a name="v:sizeofMutableArrayArray-35-" class="def">sizeofMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the number of elements in the array.
</p></div></div><div class="top"><p class="src"><a name="v:indexByteArrayArray-35-" class="def">indexByteArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a></p></div><div class="top"><p class="src"><a name="v:indexArrayArrayArray-35-" class="def">indexArrayArrayArray#</a> :: <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a></p></div><div class="top"><p class="src"><a name="v:readByteArrayArray-35-" class="def">readByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</p></div><div class="top"><p class="src"><a name="v:readMutableByteArrayArray-35-" class="def">readMutableByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s#)</p></div><div class="top"><p class="src"><a name="v:readArrayArrayArray-35-" class="def">readArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a>#)</p></div><div class="top"><p class="src"><a name="v:readMutableArrayArrayArray-35-" class="def">readMutableArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s#)</p></div><div class="top"><p class="src"><a name="v:writeByteArrayArray-35-" class="def">writeByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeMutableByteArrayArray-35-" class="def">writeMutableByteArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableByteArray-35-">MutableByteArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeArrayArrayArray-35-" class="def">writeArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeMutableArrayArrayArray-35-" class="def">writeMutableArrayArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:copyArrayArray-35-" class="def">copyArrayArray#</a> ::  <a href="GHC-Prim.html#t:ArrayArray-35-">ArrayArray#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the ArrayArray<a name=" to the specified region in the MutableArrayArray"></a>.
    Both arrays must fully contain the specified ranges, but this is not checked.
    The two arrays must not be the same array in different states, but this is not checked either.
</p></div></div><div class="top"><p class="src"><a name="v:copyMutableArrayArray-35-" class="def">copyMutableArrayArray#</a> ::  <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:MutableArrayArray-35-">MutableArrayArray#</a> s -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Copy a range of the first MutableArrayArray# to the specified region in the second
    MutableArrayArray#.
    Both arrays must fully contain the specified ranges, but this is not checked.
</p></div></div><h1 id="g:13">Addr#
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Addr-35-" class="def">Addr#</a>  </p><div class="doc"><p>An arbitrary machine address assumed to point outside
 	 the garbage-collected heap. 
</p></div></div><div class="top"><p class="src"><a name="v:nullAddr-35-" class="def">nullAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p><div class="doc"><p>The null address. 
</p></div></div><div class="top"><p class="src"><a name="v:plusAddr-35-" class="def">plusAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p></div><div class="top"><p class="src"><a name="v:minusAddr-35-" class="def">minusAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Result is meaningless if two <code>Addr#</code>s are so far apart that their
 	 difference doesn't fit in an <code>Int#</code>.
</p></div></div><div class="top"><p class="src"><a name="v:remAddr-35-" class="def">remAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Return the remainder when the <code>Addr#</code> arg, treated like an <code>Int#</code>,
 	  is divided by the <code>Int#</code> arg.
</p></div></div><div class="top"><p class="src"><a name="v:addr2Int-35-" class="def">addr2Int#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p><div class="doc"><p>Coerce directly from address to int. Strongly deprecated.
</p></div></div><div class="top"><p class="src"><a name="v:int2Addr-35-" class="def">int2Addr#</a> :: <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p><div class="doc"><p>Coerce directly from int to address. Strongly deprecated.
</p></div></div><div class="top"><p class="src"><a name="v:gtAddr-35-" class="def">gtAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:geAddr-35-" class="def">geAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:eqAddr-35-" class="def">eqAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:neAddr-35-" class="def">neAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:ltAddr-35-" class="def">ltAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:leAddr-35-" class="def">leAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:indexCharOffAddr-35-" class="def">indexCharOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></p><div class="doc"><p>Reads 8-bit character; offset in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:indexWideCharOffAddr-35-" class="def">indexWideCharOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a></p><div class="doc"><p>Reads 31-bit character; offset in 4-byte words.
</p></div></div><div class="top"><p class="src"><a name="v:indexIntOffAddr-35-" class="def">indexIntOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexWordOffAddr-35-" class="def">indexWordOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexAddrOffAddr-35-" class="def">indexAddrOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a></p></div><div class="top"><p class="src"><a name="v:indexFloatOffAddr-35-" class="def">indexFloatOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a></p></div><div class="top"><p class="src"><a name="v:indexDoubleOffAddr-35-" class="def">indexDoubleOffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a></p></div><div class="top"><p class="src"><a name="v:indexStablePtrOffAddr-35-" class="def">indexStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a</p></div><div class="top"><p class="src"><a name="v:indexInt8OffAddr-35-" class="def">indexInt8OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt16OffAddr-35-" class="def">indexInt16OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt32OffAddr-35-" class="def">indexInt32OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:indexInt64OffAddr-35-" class="def">indexInt64OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a></p></div><div class="top"><p class="src"><a name="v:indexWord8OffAddr-35-" class="def">indexWord8OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord16OffAddr-35-" class="def">indexWord16OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord32OffAddr-35-" class="def">indexWord32OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a></p></div><div class="top"><p class="src"><a name="v:indexWord64OffAddr-35-" class="def">indexWord64OffAddr#</a> :: <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a></p></div><div class="top"><p class="src"><a name="v:readCharOffAddr-35-" class="def">readCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</p><div class="doc"><p>Reads 8-bit character; offset in bytes.
</p></div></div><div class="top"><p class="src"><a name="v:readWideCharOffAddr-35-" class="def">readWideCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Char-35-">Char#</a>#)</p><div class="doc"><p>Reads 31-bit character; offset in 4-byte words.
</p></div></div><div class="top"><p class="src"><a name="v:readIntOffAddr-35-" class="def">readIntOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWordOffAddr-35-" class="def">readWordOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readAddrOffAddr-35-" class="def">readAddrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</p></div><div class="top"><p class="src"><a name="v:readFloatOffAddr-35-" class="def">readFloatOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Float-35-">Float#</a>#)</p></div><div class="top"><p class="src"><a name="v:readDoubleOffAddr-35-" class="def">readDoubleOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Double-35-">Double#</a>#)</p></div><div class="top"><p class="src"><a name="v:readStablePtrOffAddr-35-" class="def">readStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</p></div><div class="top"><p class="src"><a name="v:readInt8OffAddr-35-" class="def">readInt8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt16OffAddr-35-" class="def">readInt16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt32OffAddr-35-" class="def">readInt32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:readInt64OffAddr-35-" class="def">readInt64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int64-35-">Int64#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord8OffAddr-35-" class="def">readWord8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord16OffAddr-35-" class="def">readWord16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord32OffAddr-35-" class="def">readWord32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word-35-">Word#</a>#)</p></div><div class="top"><p class="src"><a name="v:readWord64OffAddr-35-" class="def">readWord64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Word64-35-">Word64#</a>#)</p></div><div class="top"><p class="src"><a name="v:writeCharOffAddr-35-" class="def">writeCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWideCharOffAddr-35-" class="def">writeWideCharOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Char-35-">Char#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeIntOffAddr-35-" class="def">writeIntOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWordOffAddr-35-" class="def">writeWordOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeAddrOffAddr-35-" class="def">writeAddrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeFloatOffAddr-35-" class="def">writeFloatOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Float-35-">Float#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeDoubleOffAddr-35-" class="def">writeDoubleOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Double-35-">Double#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeStablePtrOffAddr-35-" class="def">writeStablePtrOffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt8OffAddr-35-" class="def">writeInt8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt16OffAddr-35-" class="def">writeInt16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt32OffAddr-35-" class="def">writeInt32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeInt64OffAddr-35-" class="def">writeInt64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int64-35-">Int64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord8OffAddr-35-" class="def">writeWord8OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord16OffAddr-35-" class="def">writeWord16OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord32OffAddr-35-" class="def">writeWord32OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word-35-">Word#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><div class="top"><p class="src"><a name="v:writeWord64OffAddr-35-" class="def">writeWord64OffAddr#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Word64-35-">Word64#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p></div><h1 id="g:14">Mutable variables
</h1><div class="doc"><p>Operations on MutVar#s.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MutVar-35-" class="def">MutVar#</a> s a </p><div class="doc"><p>A <code>MutVar#</code> behaves like a single-element mutable array.
</p></div></div><div class="top"><p class="src"><a name="v:newMutVar-35-" class="def">newMutVar#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a#)</p><div class="doc"><p>Create <code>MutVar#</code> with specified initial value in specified state thread.
</p></div></div><div class="top"><p class="src"><a name="v:readMutVar-35-" class="def">readMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p><div class="doc"><p>Read contents of <code>MutVar#</code>. Result is not yet evaluated.
</p></div></div><div class="top"><p class="src"><a name="v:writeMutVar-35-" class="def">writeMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Write contents of <code>MutVar#</code>.
</p></div></div><div class="top"><p class="src"><a name="v:sameMutVar-35-" class="def">sameMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:atomicModifyMutVar-35-" class="def">atomicModifyMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; (a -&gt; b) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, c#)</p></div><div class="top"><p class="src"><a name="v:casMutVar-35-" class="def">casMutVar#</a> ::  <a href="GHC-Prim.html#t:MutVar-35-">MutVar#</a> s a -&gt; a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</p></div><h1 id="g:15">Exceptions
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><a name="v:catch-35-" class="def">catch#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (b -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:raise-35-" class="def">raise#</a> ::  a -&gt; b</p></div><div class="top"><p class="src"><a name="v:raiseIO-35-" class="def">raiseIO#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, b#)</p></div><div class="top"><p class="src"><a name="v:maskAsyncExceptions-35-" class="def">maskAsyncExceptions#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:maskUninterruptible-35-" class="def">maskUninterruptible#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:unmaskAsyncExceptions-35-" class="def">unmaskAsyncExceptions#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:getMaskingState-35-" class="def">getMaskingState#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><h1 id="g:16">STM-accessible Mutable Variables
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TVar-35-" class="def">TVar#</a> s a </p></div><div class="top"><p class="src"><a name="v:atomically-35-" class="def">atomically#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:retry-35-" class="def">retry#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:catchRetry-35-" class="def">catchRetry#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:catchSTM-35-" class="def">catchSTM#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; (b -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:check-35-" class="def">check#</a> ::  (<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)) -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Tuple.html#t:-40--41-">()</a>#)</p></div><div class="top"><p class="src"><a name="v:newTVar-35-" class="def">newTVar#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a#)</p><div class="doc"><p>Create a new <code>TVar#</code> holding a specified initial value.
</p></div></div><div class="top"><p class="src"><a name="v:readTVar-35-" class="def">readTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p><div class="doc"><p>Read contents of <code>TVar#</code>.  Result is not yet evaluated.
</p></div></div><div class="top"><p class="src"><a name="v:readTVarIO-35-" class="def">readTVarIO#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p><div class="doc"><p>Read contents of <code>TVar#</code> outside an STM transaction
</p></div></div><div class="top"><p class="src"><a name="v:writeTVar-35-" class="def">writeTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Write contents of <code>TVar#</code>.
</p></div></div><div class="top"><p class="src"><a name="v:sameTVar-35-" class="def">sameTVar#</a> ::  <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Prim.html#t:TVar-35-">TVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><h1 id="g:17">Synchronized Mutable Variables
</h1><div class="doc"><p>Operations on <code>MVar#</code>s. 
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MVar-35-" class="def">MVar#</a> s a </p><div class="doc"><p>A shared mutable variable (<em>not</em> the same as a <code>MutVar#</code>!).
 	(Note: in a non-concurrent implementation, <code>(MVar# a)</code> can be
 	represented by <code>(MutVar# (Maybe a))</code>.) 
</p></div></div><div class="top"><p class="src"><a name="v:newMVar-35-" class="def">newMVar#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a#)</p><div class="doc"><p>Create new <code>MVar#</code>; initially empty.
</p></div></div><div class="top"><p class="src"><a name="v:takeMVar-35-" class="def">takeMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p><div class="doc"><p>If <code>MVar#</code> is empty, block until it becomes full.
    Then remove and return its contents, and set it empty.
</p></div></div><div class="top"><p class="src"><a name="v:tryTakeMVar-35-" class="def">tryTakeMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</p><div class="doc"><p>If <code>MVar#</code> is empty, immediately return with integer 0 and value undefined.
    Otherwise, return with integer 1 and contents of <code>MVar#</code>, and set <code>MVar#</code> empty.
</p></div></div><div class="top"><p class="src"><a name="v:putMVar-35-" class="def">putMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>If <code>MVar#</code> is full, block until it becomes empty.
    Then store value arg as its new contents.
</p></div></div><div class="top"><p class="src"><a name="v:tryPutMVar-35-" class="def">tryPutMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>If <code>MVar#</code> is full, immediately return with integer 0.
     Otherwise, store value arg as <code>MVar#</code>'s new contents, and return with integer 1.
</p></div></div><div class="top"><p class="src"><a name="v:sameMVar-35-" class="def">sameMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Types.html#t:Bool">Bool</a></p></div><div class="top"><p class="src"><a name="v:isEmptyMVar-35-" class="def">isEmptyMVar#</a> ::  <a href="GHC-Prim.html#t:MVar-35-">MVar#</a> s a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Return 1 if <code>MVar#</code> is empty; 0 otherwise.
</p></div></div><h1 id="g:18">Delay/wait operations
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><a name="v:delay-35-" class="def">delay#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Sleep specified number of microseconds.
</p></div></div><div class="top"><p class="src"><a name="v:waitRead-35-" class="def">waitRead#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Block until input is available on specified file descriptor.
</p></div></div><div class="top"><p class="src"><a name="v:waitWrite-35-" class="def">waitWrite#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Block until output is possible on specified file descriptor.
</p></div></div><h1 id="g:19">Concurrency primitives
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:State-35-" class="def">State#</a> s </p><div class="doc"><p><code>State#</code> is the primitive, unlifted type of states.  It has
 	one type parameter, thus <code>State# RealWorld</code>, or <code>State# s</code>,
 	where s is a type variable. The only purpose of the type parameter
 	is to keep different state threads separate.  It is represented by
 	nothing at all. 
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RealWorld" class="def">RealWorld</a>  </p><div class="doc"><p><code>RealWorld</code> is deeply magical.  It is <em>primitive</em>, but it is not
 	<em>unlifted</em> (hence <code>ptrArg</code>).  We never manipulate values of type
 	<code>RealWorld</code>; it's only used in the type system, to parameterise <code>State#</code>. 
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ThreadId-35-" class="def">ThreadId#</a>  </p><div class="doc"><p>(In a non-concurrent implementation, this can be a singleton
 	type, whose (unique) value is returned by <code>myThreadId#</code>.  The 
 	other operations can be omitted.)
</p></div></div><div class="top"><p class="src"><a name="v:fork-35-" class="def">fork#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</p></div><div class="top"><p class="src"><a name="v:forkOn-35-" class="def">forkOn#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</p></div><div class="top"><p class="src"><a name="v:killThread-35-" class="def">killThread#</a> ::  <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></p></div><div class="top"><p class="src"><a name="v:yield-35-" class="def">yield#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></p></div><div class="top"><p class="src"><a name="v:myThreadId-35-" class="def">myThreadId#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a>#)</p></div><div class="top"><p class="src"><a name="v:labelThread-35-" class="def">labelThread#</a> :: <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></p></div><div class="top"><p class="src"><a name="v:isCurrentThreadBound-35-" class="def">isCurrentThreadBound#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><div class="top"><p class="src"><a name="v:noDuplicate-35-" class="def">noDuplicate#</a> :: <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></p></div><div class="top"><p class="src"><a name="v:threadStatus-35-" class="def">threadStatus#</a> :: <a href="GHC-Prim.html#t:ThreadId-35-">ThreadId#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p></div><h1 id="g:20">Weak pointers
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Weak-35-" class="def">Weak#</a> b </p></div><div class="top"><p class="src"><a name="v:mkWeak-35-" class="def">mkWeak#</a> ::  o -&gt; b -&gt; c -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> b#)</p></div><div class="top"><p class="src"><a name="v:mkWeakForeignEnv-35-" class="def">mkWeakForeignEnv#</a> ::  o -&gt; b -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> b#)</p></div><div class="top"><p class="src"><a name="v:deRefWeak-35-" class="def">deRefWeak#</a> ::  <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</p></div><div class="top"><p class="src"><a name="v:finalizeWeak-35-" class="def">finalizeWeak#</a> ::  <a href="GHC-Prim.html#t:Weak-35-">Weak#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Tuple.html#t:-40--41-">()</a>#)#)</p></div><div class="top"><p class="src"><a name="v:touch-35-" class="def">touch#</a> ::  o -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a></p></div><h1 id="g:21">Stable pointers and names
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:StablePtr-35-" class="def">StablePtr#</a> a </p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:StableName-35-" class="def">StableName#</a> a </p></div><div class="top"><p class="src"><a name="v:makeStablePtr-35-" class="def">makeStablePtr#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a#)</p></div><div class="top"><p class="src"><a name="v:deRefStablePtr-35-" class="def">deRefStablePtr#</a> ::  <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, a#)</p></div><div class="top"><p class="src"><a name="v:eqStablePtr-35-" class="def">eqStablePtr#</a> ::  <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:StablePtr-35-">StablePtr#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:makeStableName-35-" class="def">makeStableName#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a> -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> <a href="GHC-Prim.html#t:RealWorld">RealWorld</a>, <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a#)</p></div><div class="top"><p class="src"><a name="v:eqStableName-35-" class="def">eqStableName#</a> ::  <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:stableNameToInt-35-" class="def">stableNameToInt#</a> ::  <a href="GHC-Prim.html#t:StableName-35-">StableName#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><h1 id="g:22">Unsafe pointer equality
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><a name="v:reallyUnsafePtrEquality-35-" class="def">reallyUnsafePtrEquality#</a> ::  a -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><h1 id="g:23">Parallelism
</h1><div class="doc empty">&nbsp;</div><div class="top"><p class="src"><a name="v:par-35-" class="def">par#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:spark-35-" class="def">spark#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p></div><div class="top"><p class="src"><a name="v:seq-35-" class="def">seq#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, a#)</p></div><div class="top"><p class="src"><a name="v:getSpark-35-" class="def">getSpark#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>, a#)</p></div><div class="top"><p class="src"><a name="v:numSparks-35-" class="def">numSparks#</a> ::  <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Int-35-">Int#</a>#)</p><div class="doc"><p>Returns the number of sparks in the local spark pool. 
</p></div></div><div class="top"><p class="src"><a name="v:parGlobal-35-" class="def">parGlobal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:parLocal-35-" class="def">parLocal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:parAt-35-" class="def">parAt#</a> ::  b -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; c -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:parAtAbs-35-" class="def">parAtAbs#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:parAtRel-35-" class="def">parAtRel#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; b -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:parAtForNow-35-" class="def">parAtForNow#</a> ::  b -&gt; a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; c -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><h1 id="g:24">Tag to enum stuff
</h1><div class="doc"><p>Convert back and forth between values of enumerated types
 	and small integers.
</p></div><div class="top"><p class="src"><a name="v:dataToTag-35-" class="def">dataToTag#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a></p></div><div class="top"><p class="src"><a name="v:tagToEnum-35-" class="def">tagToEnum#</a> ::  <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; a</p></div><h1 id="g:25">Bytecode operations
</h1><div class="doc"><p>Support for the bytecode interpreter and linker.
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:BCO-35-" class="def">BCO#</a>  </p><div class="doc"><p>Primitive bytecode type.
</p></div></div><div class="top"><p class="src"><a name="v:addrToAny-35-" class="def">addrToAny#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; (#a#)</p><div class="doc"><p>Convert an <code>Addr#</code> to a followable Any type.
</p></div></div><div class="top"><p class="src"><a name="v:mkApUpd0-35-" class="def">mkApUpd0#</a> ::  <a href="GHC-Prim.html#t:BCO-35-">BCO#</a> -&gt; (#a#)</p></div><div class="top"><p class="src"><a name="v:newBCO-35-" class="def">newBCO#</a> ::  <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:Array-35-">Array#</a> a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:BCO-35-">BCO#</a>#)</p></div><div class="top"><p class="src"><a name="v:unpackClosure-35-" class="def">unpackClosure#</a> ::  a -&gt; (#<a href="GHC-Prim.html#t:Addr-35-">Addr#</a>, <a href="GHC-Prim.html#t:Array-35-">Array#</a> b, <a href="GHC-Prim.html#t:ByteArray-35-">ByteArray#</a>#)</p></div><div class="top"><p class="src"><a name="v:getApStackVal-35-" class="def">getApStackVal#</a> ::  a -&gt; <a href="GHC-Prim.html#t:Int-35-">Int#</a> -&gt; (#<a href="GHC-Prim.html#t:Int-35-">Int#</a>, b#)</p></div><h1 id="g:26">Misc
</h1><div class="doc"><p>These aren't nearly as wired in as Etc...
</p></div><div class="top"><p class="src"><a name="v:getCCSOf-35-" class="def">getCCSOf#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</p></div><div class="top"><p class="src"><a name="v:getCurrentCCS-35-" class="def">getCurrentCCS#</a> ::  a -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; (#<a href="GHC-Prim.html#t:State-35-">State#</a> s, <a href="GHC-Prim.html#t:Addr-35-">Addr#</a>#)</p><div class="doc"><p>Returns the current <code>CostCentreStack</code> (value is <code>NULL</code> if
      not profiling).  Takes a dummy argument which can be used to
      avoid the call to <code>getCCCS#</code> being floated out by the
      simplifier, which would result in an uninformative stack
      (&quot;CAF&quot;). 
</p></div></div><h1 id="g:27">Etc
</h1><div class="doc"><p>Miscellaneous built-ins
</p></div><div class="top"><p class="src"><a name="v:seq" class="def">seq</a> ::  a -&gt; b -&gt; b</p><div class="doc"><p>Evaluates its first argument to head normal form, and then returns its second
 	argument as the result. 
</p></div></div><div class="top"><p class="src"><a name="v:inline" class="def">inline</a> ::  a -&gt; a</p><div class="doc"><p>The call <code>(inline f)</code> arranges that f is inlined, regardless of its size.
 	More precisely, the call <code>(inline f)</code> rewrites to the right-hand side of
 	<code>f</code>'s definition. This allows the programmer to control inlining from a
 	particular call site rather than the definition site of the function (c.f.
 	<code>INLINE</code> pragmas in User's Guide, Section 7.10.3, &quot;INLINE and NOINLINE
 	pragmas&quot;).
</p><p>This inlining occurs regardless of the argument to the call or the size of
 	<code>f</code>'s definition; it is unconditional. The main caveat is that <code>f</code>'s
 	definition must be visible to the compiler. That is, <code>f</code> must be
 	<code>let</code>-bound in the current scope. If no inlining takes place, the
 	<code>inline</code> function expands to the identity function in Phase zero; so its
 	use imposes no overhead.
</p><p>It is good practice to mark the function with an INLINABLE pragma at
         its definition, (a) so that GHC guarantees to expose its unfolding regardless
         of size, and (b) so that you have control over exactly what is inlined. 
</p></div></div><div class="top"><p class="src"><a name="v:lazy" class="def">lazy</a> ::  a -&gt; a</p><div class="doc"><p>The <code>lazy</code> function restrains strictness analysis a little. The call
 	<code>(lazy e)</code> means the same as <code>e</code>, but <code>lazy</code> has a magical
 	property so far as strictness analysis is concerned: it is lazy in its first
 	argument, even though its semantics is strict. After strictness analysis has
 	run, calls to <code>lazy</code> are inlined to be the identity function.
</p><p>This behaviour is occasionally useful when controlling evaluation order.
 	Notably, <code>lazy</code> is used in the library definition of <code>Control.Parallel.par</code>:
</p><pre>par :: a -&gt; b -&gt; b</pre><pre>par x y = case (par# x) of _ -&gt; lazy y</pre><p>If <code>lazy</code> were not lazy, <code>par</code> would look strict in <code>y</code> which
 	would defeat the whole purpose of <code>par</code>.
</p><p>Like <code>seq</code>, the argument of <code>lazy</code> can have an unboxed type. 
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Any" class="def">Any</a> k </p><div class="doc"><p>The type constructor <code>Any</code> is type to which you can unsafely coerce any
 	lifted type, and back. 
</p><ul><li> It is lifted, and hence represented by a pointer
</li><li> It does not claim to be a <em>data</em> type, and that's important for
 	    the code generator, because the code gen may <em>enter</em> a data value
 	    but never enters a function value.  
</li></ul><p>It's also used to instantiate un-constrained type variables after type
 	checking.  For example, <code>length</code> has type
</p><pre>length :: forall a. [a] -&gt; Int</pre><p>and the list datacon for the empty list has type
</p><pre>[] :: forall a. [a]</pre><p>In order to compose these two terms as <code>length []</code> a type
 	application is required, but there is no constraint on the
 	choice.  In this situation GHC uses <code>Any</code>:
</p><pre>length (Any *) ([] (Any *))</pre><p>Note that <code>Any</code> is kind polymorphic, and takes a kind <code>k</code> as its
         first argument. The kind of <code>Any</code> is thus <code>forall k. k -&gt; k</code>.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:AnyK" class="def">AnyK</a>  </p><div class="doc"><p>The kind <code>AnyK</code> is the kind level counterpart to <code>Any</code>. In a
         kind polymorphic setting, a similar example to the length of the empty
         list can be given at the type level:
</p><p><code>type family Length (l :: [k]) :: Nat</code>
         <code>type instance Length [] = Zero</code>
</p><p>When <code>Length</code> is applied to the empty (promoted) list it will have
         the kind <code>Length AnyK []</code>.
</p><p><code>AnyK</code> is currently not exported and cannot be used directly, but
         you might see it in debug output from the compiler.
</p></div></div><div class="top"><p class="src"><a name="v:unsafeCoerce-35-" class="def">unsafeCoerce#</a> ::  a -&gt; b</p><div class="doc"><p>The function <code>unsafeCoerce#</code> allows you to side-step the typechecker entirely. That
 	is, it allows you to coerce any type into any other type. If you use this function,
 	you had better get it right, otherwise segmentation faults await. It is generally
 	used when you want to write a program that you know is well-typed, but where Haskell's
 	type system is not expressive enough to prove that it is well typed.
</p><p>The following uses of <code>unsafeCoerce#</code> are supposed to work (i.e. not lead to
         spurious compile-time or run-time crashes):
</p><ul><li> Casting any lifted type to <code>Any</code>
</li><li> Casting <code>Any</code> back to the real type
</li><li> Casting an unboxed type to another unboxed type of the same size
            (but not coercions between floating-point and integral types)
</li><li> Casting between two types that have the same runtime representation.  One case is when
            the two types differ only in &quot;phantom&quot; type parameters, for example
            <code>Ptr Int</code> to <code>Ptr Float</code>, or <code>[Int]</code> to <code>[Float]</code> when the list is 
            known to be empty.  Also, a <code>newtype</code> of a type <code>T</code> has the same representation
            at runtime as <code>T</code>.
</li></ul><p>Other uses of <code>unsafeCoerce#</code> are undefined.  In particular, you should not use
 	<code>unsafeCoerce#</code> to cast a T to an algebraic data type D, unless T is also
 	an algebraic data type.  For example, do not cast <code>Int-&gt;Int</code> to <code>Bool</code>, even if
         you later cast that <code>Bool</code> back to <code>Int-&gt;Int</code> before applying it.  The reasons
         have to do with GHC's internal representation details (for the congnoscenti, data values
 	can be entered but function closures cannot).  If you want a safe type to cast things
 	to, use <code>Any</code>, which is not an algebraic data type.
</p></div></div><div class="top"><p class="src"><a name="v:traceEvent-35-" class="def">traceEvent#</a> ::  <a href="GHC-Prim.html#t:Addr-35-">Addr#</a> -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s -&gt; <a href="GHC-Prim.html#t:State-35-">State#</a> s</p><div class="doc"><p>Emits an event via the RTS tracing framework.  The contents
      of the event is the zero-terminated byte string passed as the first
      argument.  The event will be emitted either to the .eventlog file,
      or to stderr, depending on the runtime RTS flags. 
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>