Sophie

Sophie

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

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>Vectorise.Var</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_Vectorise-Var.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-7.4.2: The GHC API</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Vectorise.Var</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Vectorise variables and literals.
</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"><a href="#v:vectBndr">vectBndr</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VVar">VVar</a></li><li class="src short"><a href="#v:vectBndrNew">vectBndrNew</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="FastString.html#t:FastString">FastString</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VVar">VVar</a></li><li class="src short"><a href="#v:vectBndrIn">vectBndrIn</a> ::  <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> (<a href="Vectorise-Vect.html#t:VVar">VVar</a>, a)</li><li class="src short"><a href="#v:vectBndrNewIn">vectBndrNewIn</a> ::  <a href="Var.html#t:Var">Var</a> -&gt; <a href="FastString.html#t:FastString">FastString</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> (<a href="Vectorise-Vect.html#t:VVar">VVar</a>, a)</li><li class="src short"><a href="#v:vectBndrsIn">vectBndrsIn</a> ::  [<a href="Var.html#t:Var">Var</a>] -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> ([<a href="Vectorise-Vect.html#t:VVar">VVar</a>], a)</li><li class="src short"><a href="#v:vectVar">vectVar</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VExpr">VExpr</a></li><li class="src short"><a href="#v:vectConst">vectConst</a> :: <a href="CoreSyn.html#t:CoreExpr">CoreExpr</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VExpr">VExpr</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:vectBndr" class="def">vectBndr</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VVar">VVar</a></p><div class="doc"><p>Vectorise a binder variable, along with its attached type.
</p></div></div><div class="top"><p class="src"><a name="v:vectBndrNew" class="def">vectBndrNew</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="FastString.html#t:FastString">FastString</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VVar">VVar</a></p><div class="doc"><p>Vectorise a binder variable, along with its attached type, but give the result a new name.
</p></div></div><div class="top"><p class="src"><a name="v:vectBndrIn" class="def">vectBndrIn</a> ::  <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> (<a href="Vectorise-Vect.html#t:VVar">VVar</a>, a)</p><div class="doc"><p>Vectorise a binder then run a computation with that binder in scope.
</p></div></div><div class="top"><p class="src"><a name="v:vectBndrNewIn" class="def">vectBndrNewIn</a> ::  <a href="Var.html#t:Var">Var</a> -&gt; <a href="FastString.html#t:FastString">FastString</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> (<a href="Vectorise-Vect.html#t:VVar">VVar</a>, a)</p><div class="doc"><p>Vectorise a binder, give it a new name, then run a computation with that binder in scope.
</p></div></div><div class="top"><p class="src"><a name="v:vectBndrsIn" class="def">vectBndrsIn</a> ::  [<a href="Var.html#t:Var">Var</a>] -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> a -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> ([<a href="Vectorise-Vect.html#t:VVar">VVar</a>], a)</p><div class="doc"><p>Vectorise some binders, then run a computation with them in scope.
</p></div></div><div class="top"><p class="src"><a name="v:vectVar" class="def">vectVar</a> :: <a href="Var.html#t:Var">Var</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VExpr">VExpr</a></p><div class="doc"><p>Vectorise a variable, producing the vectorised and lifted versions.
</p></div></div><div class="top"><p class="src"><a name="v:vectConst" class="def">vectConst</a> :: <a href="CoreSyn.html#t:CoreExpr">CoreExpr</a> -&gt; <a href="Vectorise-Monad-Base.html#t:VM">VM</a> <a href="Vectorise-Vect.html#t:VExpr">VExpr</a></p><div class="doc"><p>Constants are lifted by replication along the integer context in the <code><a href="Vectorise-Monad-Base.html#t:VM">VM</a></code> state for the number
 of elements in the result array.
</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>