/usr/share/doc/libghc-diagrams-lib-doc/html/Diagrams-Prelude.html is in libghc-diagrams-lib-doc 0.7.1.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | <!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>Diagrams.Prelude</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_Diagrams-Prelude.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Diagrams-Prelude.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">diagrams-lib-0.7.1.1: Embedded domain-specific language for declarative graphics</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>diagrams-discuss@googlegroups.com</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Diagrams.Prelude</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Core library
</a></li><li><a href="#g:2">Standard library
</a></li><li><a href="#g:3">Convenience re-exports
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A module to re-export most of the functionality of the diagrams
core and standard library.
</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">module <a href="/usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html">Diagrams.Core</a></li><li class="src short">module <a href="Diagrams-Attributes.html">Diagrams.Attributes</a></li><li class="src short">module <a href="Diagrams-Align.html">Diagrams.Align</a></li><li class="src short">module <a href="Diagrams-Combinators.html">Diagrams.Combinators</a></li><li class="src short">module <a href="Diagrams-Located.html">Diagrams.Located</a></li><li class="src short">module <a href="Diagrams-Segment.html">Diagrams.Segment</a></li><li class="src short">module <a href="Diagrams-Trail.html">Diagrams.Trail</a></li><li class="src short">module <a href="Diagrams-Parametric.html">Diagrams.Parametric</a></li><li class="src short">module <a href="Diagrams-TrailLike.html">Diagrams.TrailLike</a></li><li class="src short">module <a href="Diagrams-Path.html">Diagrams.Path</a></li><li class="src short">module <a href="Diagrams-CubicSpline.html">Diagrams.CubicSpline</a></li><li class="src short">module <a href="Diagrams-Transform.html">Diagrams.Transform</a></li><li class="src short">module <a href="Diagrams-BoundingBox.html">Diagrams.BoundingBox</a></li><li class="src short">module <a href="Diagrams-Names.html">Diagrams.Names</a></li><li class="src short">module <a href="Diagrams-Envelope.html">Diagrams.Envelope</a></li><li class="src short">module <a href="Diagrams-Trace.html">Diagrams.Trace</a></li><li class="src short">module <a href="Diagrams-Query.html">Diagrams.Query</a></li><li class="src short">module <a href="Diagrams-Points.html">Diagrams.Points</a></li><li class="src short">module <a href="Diagrams-TwoD.html">Diagrams.TwoD</a></li><li class="src short">module <a href="Diagrams-Animation.html">Diagrams.Animation</a></li><li class="src short">module <a href="Diagrams-Util.html">Diagrams.Util</a></li><li class="src short">module <a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour.html">Data.Colour</a></li><li class="src short">module <a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour-Names.html">Data.Colour.Names</a></li><li class="src short">module <a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html">Data.Semigroup</a></li><li class="src short">module <a href="/usr/share/doc/libghc-vector-space-doc/html/Data-VectorSpace.html">Data.VectorSpace</a></li><li class="src short">module <a href="/usr/share/doc/libghc-vector-space-doc/html/Data-AffineSpace.html">Data.AffineSpace</a></li><li class="src short">module <a href="/usr/share/doc/libghc-active-doc/html/Data-Active.html">Data.Active</a></li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => <a href="#t:Applicative">Applicative</a> f <span class="keyword">where</span><ul class="subs"><li><a href="#v:pure">pure</a> :: a -> f a</li><li><a href="#v:-60--42--62-">(<*>)</a> :: f (a -> b) -> f a -> f b</li><li><a href="#v:-42--62-">(*>)</a> :: f a -> f b -> f b</li><li><a href="#v:-60--42-">(<*)</a> :: f a -> f b -> f a</li></ul></li><li class="src short"><a href="#v:-42--62-">(*>)</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => <span class="keyword">forall</span> a b. f a -> f b -> f b</li><li class="src short"><a href="#v:-60--42-">(<*)</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => <span class="keyword">forall</span> a b. f a -> f b -> f a</li><li class="src short"><a href="#v:-60--36--62-">(<$>)</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => (a -> b) -> f a -> f b</li><li class="src short"><a href="#v:-60--36-">(<$)</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => <span class="keyword">forall</span> a b. a -> f b -> f a</li><li class="src short"><a href="#v:liftA">liftA</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b) -> f a -> f b</li><li class="src short"><a href="#v:liftA2">liftA2</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b -> c) -> f a -> f b -> f c</li><li class="src short"><a href="#v:liftA3">liftA3</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d</li></ul></div><div id="interface"><h1 id="g:1">Core library
</h1><div class="doc"><p>The core definitions of transformations, diagrams,
backends, and so on.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html">Diagrams.Core</a></p></div><h1 id="g:2">Standard library
</h1><div class="doc"><p>Attributes (color, line style, etc.) and styles.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Attributes.html">Diagrams.Attributes</a></p></div><div class="doc"><p>Alignment of diagrams relative to their envelopes.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Align.html">Diagrams.Align</a></p></div><div class="doc"><p>Combining multiple diagrams into one.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Combinators.html">Diagrams.Combinators</a></p></div><div class="doc"><p>Giving concrete locations to translation-invariant things.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Located.html">Diagrams.Located</a></p></div><div class="doc"><p>Linear and cubic bezier segments.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Segment.html">Diagrams.Segment</a></p></div><div class="doc"><p>Trails.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Trail.html">Diagrams.Trail</a></p></div><div class="doc"><p>Parametrization of segments and trails.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Parametric.html">Diagrams.Parametric</a></p></div><div class="doc"><p>Trail-like things.
</p></div><div class="top"><p class="src">module <a href="Diagrams-TrailLike.html">Diagrams.TrailLike</a></p></div><div class="doc"><p>Paths.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Path.html">Diagrams.Path</a></p></div><div class="doc"><p>Cubic splines.
</p></div><div class="top"><p class="src">module <a href="Diagrams-CubicSpline.html">Diagrams.CubicSpline</a></p></div><div class="doc"><p>Some additional transformation-related functions, like
conjugation of transformations.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Transform.html">Diagrams.Transform</a></p></div><div class="doc"><p>Convenient definitions and utilities for working with
good old-fashioned, axis-aligned bounding boxes.
</p></div><div class="top"><p class="src">module <a href="Diagrams-BoundingBox.html">Diagrams.BoundingBox</a></p></div><div class="doc"><p>Giving names to subdiagrams and later retrieving
subdiagrams by name.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Names.html">Diagrams.Names</a></p></div><div class="doc"><p>Envelopes, aka functional bounding regions.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Envelope.html">Diagrams.Envelope</a></p></div><div class="doc"><p>Traces, aka embedded raytracers, for finding points on
the boundary of a diagram.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Trace.html">Diagrams.Trace</a></p></div><div class="doc"><p>A query is a function that maps points in a vector space
to values in some monoid; they can be used to annotate
the points of a diagram with some values.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Query.html">Diagrams.Query</a></p></div><div class="doc"><p>Utilities for working with points.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Points.html">Diagrams.Points</a></p></div><div class="doc"><p>A wide range of things (shapes, transformations,
combinators) specific to creating two-dimensional
diagrams.
</p></div><div class="top"><p class="src">module <a href="Diagrams-TwoD.html">Diagrams.TwoD</a></p></div><div class="doc"><p>Tools for making animations.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Animation.html">Diagrams.Animation</a></p></div><div class="doc"><p>Various utility definitions.
</p></div><div class="top"><p class="src">module <a href="Diagrams-Util.html">Diagrams.Util</a></p></div><h1 id="g:3">Convenience re-exports
</h1><div class="doc"><p>For representing and operating on colors.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour.html">Data.Colour</a></p></div><div class="doc"><p>A large list of color names.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour-Names.html">Data.Colour.Names</a></p></div><div class="doc"><p>Semigroups and monoids show up all over the place, so things from
Data.Semigroup and Data.Monoid often come in handy.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html">Data.Semigroup</a></p></div><div class="doc"><p>For computing with vectors.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-vector-space-doc/html/Data-VectorSpace.html">Data.VectorSpace</a></p></div><div class="doc"><p>For computing with points and vectors.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-vector-space-doc/html/Data-AffineSpace.html">Data.AffineSpace</a></p></div><div class="doc"><p>For working with <code><a href="/usr/share/doc/libghc-active-doc/html/Data-Active.html#t:Active">Active</a></code> (i.e. animated) things.
</p></div><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-active-doc/html/Data-Active.html">Data.Active</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => <a name="t:Applicative" class="def">Applicative</a> f <span class="keyword">where</span></p><div class="doc"><p>A functor with application, providing operations to
</p><ul><li> embed pure expressions (<code><a href="Diagrams-Prelude.html#v:pure">pure</a></code>), and
</li><li> sequence computations and combine their results (<code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code>).
</li></ul><p>A minimal complete definition must include implementations of these
functions satisfying the following laws:
</p><dl><dt><em>identity</em></dt><dd>
<code><code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Category.html#v:id">id</a></code> <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> v = v</code>
</dd><dt><em>composition</em></dt><dd>
<code><code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> (.) <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> u <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> v <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> w = u <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> (v <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> w)</code>
</dd><dt><em>homomorphism</em></dt><dd>
<code><code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> f <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> x = <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> (f x)</code>
</dd><dt><em>interchange</em></dt><dd>
<code>u <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> y = <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> (<code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#v:-36-">$</a></code> y) <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> u</code>
</dd></dl><p>The other methods have the following default definitions, which may
be overridden with equivalent specialized implementations:
</p><pre>
u <code><a href="Diagrams-Prelude.html#v:-42--62-">*></a></code> v = <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> (<code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#v:const">const</a></code> <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Category.html#v:id">id</a></code>) <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> u <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> v
u <code><a href="Diagrams-Prelude.html#v:-60--42-"><*</a></code> v = <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#v:const">const</a></code> <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> u <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> v
</pre><p>As a consequence of these laws, the <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a></code> instance for <code>f</code> will satisfy
</p><pre>
<code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:fmap">fmap</a></code> f x = <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> f <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> x
</pre><p>If <code>f</code> is also a <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a></code>, it should satisfy <code><code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> = <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:return">return</a></code></code> and
<code>(<code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code>) = <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:ap">ap</a></code></code> (which implies that <code><a href="Diagrams-Prelude.html#v:pure">pure</a></code> and <code><a href="Diagrams-Prelude.html#v:-60--42--62-"><*></a></code> satisfy the
applicative functor laws).
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:pure" class="def">pure</a> :: a -> f a</p><div class="doc"><p>Lift a value.
</p></div><p class="src"><a name="v:-60--42--62-" class="def">(<*>)</a> :: f (a -> b) -> f a -> f b</p><div class="doc"><p>Sequential application.
</p></div><p class="src"><a name="v:-42--62-" class="def">(*>)</a> :: f a -> f b -> f b</p><div class="doc"><p>Sequence actions, discarding the value of the first argument.
</p></div><p class="src"><a name="v:-60--42-" class="def">(<*)</a> :: f a -> f b -> f a</p><div class="doc"><p>Sequence actions, discarding the value of the second argument.
</p></div></div><div class="subs instances"><p id="control.i:Applicative" class="caption collapser" onclick="toggleSection('i:Applicative')">Instances</p><div id="section.i:Applicative" class="show"><table><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> []</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/libghc-active-doc/html/Data-Active.html#t:Active">Active</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:ZipList">ZipList</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/GHC-Conc.html#t:STM">STM</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-ParserCombinators-ReadP.html#t:ReadP">ReadP</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace-HSL.html#t:RGB">RGB</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> Id</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Option">Option</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/libghc-semigroups-doc/html/Data-List-NonEmpty.html#t:NonEmpty">NonEmpty</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="/usr/share/doc/libghc-vector-space-doc/html/Data-AdditiveGroup.html#t:Sum">Sum</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> ((->) a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> e)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Monoid.html#t:Monoid">Monoid</a> a => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.3.0.0/GHC-Tuple.html#t:-40--44--41-">(,)</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Safe.html#t:ST">ST</a> s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Monoid.html#t:Monoid">Monoid</a> m => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:Const">Const</a> m)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:WrappedMonad">WrappedMonad</a> m)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad-ST-Lazy-Safe.html#t:ST">ST</a> s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Arrow.html#t:Arrow">Arrow</a> a => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Arrow.html#t:ArrowMonad">ArrowMonad</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (State s)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="Diagrams-Query.html#t:Query">Query</a> v)</td><td class="doc empty"> </td></tr><tr><td class="src">HasTrie a => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (:->: a)</td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Arrow.html#t:Arrow">Arrow</a> a => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Applicative.html#t:WrappedArrow">WrappedArrow</a> a b)</td><td class="doc empty"> </td></tr><tr><td class="src">(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m) => <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> (ErrorT e m)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:-42--62-" class="def">(*>)</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => <span class="keyword">forall</span> a b. f a -> f b -> f b</p><div class="doc"><p>Sequence actions, discarding the value of the first argument.
</p></div></div><div class="top"><p class="src"><a name="v:-60--42-" class="def">(<*)</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => <span class="keyword">forall</span> a b. f a -> f b -> f a</p><div class="doc"><p>Sequence actions, discarding the value of the second argument.
</p></div></div><div class="top"><p class="src"><a name="v:-60--36--62-" class="def">(<$>)</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => (a -> b) -> f a -> f b</p><div class="doc"><p>An infix synonym for <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:fmap">fmap</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:-60--36-" class="def">(<$)</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => <span class="keyword">forall</span> a b. a -> f b -> f a</p><div class="doc"><p>Replace all locations in the input with the same value.
The default definition is <code><code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:fmap">fmap</a></code> . <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#v:const">const</a></code></code>, but this may be
overridden with a more efficient version.
</p></div></div><div class="top"><p class="src"><a name="v:liftA" class="def">liftA</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b) -> f a -> f b</p><div class="doc"><p>Lift a function to actions.
This function may be used as a value for <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#v:fmap">fmap</a></code> in a <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a></code> instance.
</p></div></div><div class="top"><p class="src"><a name="v:liftA2" class="def">liftA2</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b -> c) -> f a -> f b -> f c</p><div class="doc"><p>Lift a binary function to actions.
</p></div></div><div class="top"><p class="src"><a name="v:liftA3" class="def">liftA3</a> :: <a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d</p><div class="doc"><p>Lift a ternary function to actions.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|