Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 765adc18ec52512b3512a9992c59746e > files > 55

ghc-arrows-devel-0.4.4.1-1.fc18.x86_64.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>Control.Arrow.Transformer</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_Control-Arrow-Transformer.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Arrow-Transformer.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">arrows-0.4.4.1: Arrow classes and transformers</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>ross@soi.city.ac.uk</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Control.Arrow.Transformer</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Arrow transformers, for making new arrow types out of old ones.
</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">class</span> (<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> (f a)) =&gt; <a href="#t:ArrowTransformer">ArrowTransformer</a> f a  <span class="keyword">where</span><ul class="subs"><li><a href="#v:lift">lift</a> ::  a b c -&gt; f a b c</li></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> (<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> (f a)) =&gt; <a name="t:ArrowTransformer" class="def">ArrowTransformer</a> f a  <span class="keyword">where</span><a href="src/Control-Arrow-Transformer.html#ArrowTransformer" class="link">Source</a></p><div class="doc"><p>Construct a new arrow from an existing one.
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:lift" class="def">lift</a> ::  a b c -&gt; f a b c<a href="src/Control-Arrow-Transformer.html#lift" class="link">Source</a></p><div class="doc"><p>A transformation of arrows, preserving <code><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#v:arr">arr</a></code>, <code><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Category.html#v:-62--62--62-">&gt;&gt;&gt;</a></code> and <code><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#v:first">first</a></code>.
</p><p>Typical usage in arrow notation:
</p><pre>	proc p -&gt; ...
		(|lift cmd|)
</pre></div></div><div class="subs instances"><p id="control.i:ArrowTransformer" class="caption collapser" onclick="toggleSection('i:ArrowTransformer')">Instances</p><div id="section.i:ArrowTransformer" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> <a href="Control-Arrow-Transformer-Automaton.html#t:Automaton">Automaton</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> <a href="Control-Arrow-Transformer-Stream.html#t:StreamArrow">StreamArrow</a> a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:ArrowChoice">ArrowChoice</a> a =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> (<a href="Control-Arrow-Transformer-Error.html#t:ErrorArrow">ErrorArrow</a> ex) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> (<a href="Control-Arrow-Transformer-State.html#t:StateArrow">StateArrow</a> s) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Applicative.html#t:Applicative">Applicative</a> f) =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> (<a href="Control-Arrow-Transformer-Static.html#t:StaticArrow">StaticArrow</a> f) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Monoid.html#t:Monoid">Monoid</a> w) =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> (<a href="Control-Arrow-Transformer-Writer.html#t:WriterArrow">WriterArrow</a> w) a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Arrow.html#t:Arrow">Arrow</a> a =&gt; <a href="Control-Arrow-Transformer.html#t:ArrowTransformer">ArrowTransformer</a> (<a href="Control-Arrow-Transformer-Reader.html#t:ReaderArrow">ReaderArrow</a> r) a</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>