Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > db7a4a658d190b3e658423135710c498 > files > 625

ghc-darcs-devel-2.8.3-1.fc18.i686.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>Darcs.Patch.Apply</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_Darcs-Patch-Apply.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Darcs-Patch-Apply.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">darcs-2.8.3: a distributed, interactive, smart revision control system</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>darcs-devel@darcs.net</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Darcs.Patch.Apply</p></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</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="#t:Apply">Apply</a> p  <span class="keyword">where</span><ul class="subs"><li><span class="keyword">type</span> <a href="#t:ApplyState">ApplyState</a> p :: (* -&gt; *) -&gt; *</li><li><a href="#v:apply">apply</a> :: <a href="Darcs-Patch-ApplyMonad.html#t:ApplyMonad">ApplyMonad</a> m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p) =&gt; p x y -&gt; m <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li></ul></li><li class="src short"><a href="#v:applyToFilePaths">applyToFilePaths</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>)] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>] -&gt; ([<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>], [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>], [(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>)])</li><li class="src short"><a href="#v:applyToTree">applyToTree</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> m, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a> m -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a> m)</li><li class="src short"><a href="#v:applyToState">applyToState</a> :: <span class="keyword">forall</span> p m x y. (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-ApplyMonad.html#t:ApplyMonadTrans">ApplyMonadTrans</a> m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p)) =&gt; p x y -&gt; <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p m -&gt; m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p m)</li><li class="src short"><a href="#v:effectOnFilePaths">effectOnFilePaths</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span>  <a name="t:Apply" class="def">Apply</a> p  <span class="keyword">where</span><a href="src/Darcs-Patch-Apply.html#Apply" class="link">Source</a></p><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a name="t:ApplyState" class="def">ApplyState</a> p :: (* -&gt; *) -&gt; *<a href="src/Darcs-Patch-Apply.html#ApplyState" class="link">Source</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:apply" class="def">apply</a> :: <a href="Darcs-Patch-ApplyMonad.html#t:ApplyMonad">ApplyMonad</a> m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p) =&gt; p x y -&gt; m <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/Darcs-Patch-Apply.html#apply" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:Apply" class="caption collapser" onclick="toggleSection('i:Apply')">Instances</p><div id="section.i:Apply" class="show"><table><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> <a href="Darcs-Patch-Prim-V1-Core.html#t:Prim">Prim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> <a href="Darcs-Patch-Prim-V3-Core.html#t:Prim">Prim</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> <a href="Darcs-Patch-Dummy.html#t:DummyPatch">DummyPatch</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Witnesses-Ordered.html#t:RL">RL</a> p)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Witnesses-Ordered.html#t:FL">FL</a> p)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Prim-Class.html#t:PrimPatch">PrimPatch</a> prim =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Patch-V1-Core.html#t:Patch">Patch</a> prim)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Patch-Named.html#t:Named">Named</a> p)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Patch-PatchInfoAnd.html#t:PatchInfoAnd">PatchInfoAnd</a> p)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Darcs-Patch-Prim-Class.html#t:PrimPatch">PrimPatch</a> prim =&gt; <a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> (<a href="Darcs-Patch-V2-Real.html#t:RealPatch">RealPatch</a> prim)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:applyToFilePaths" class="def">applyToFilePaths</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Maybe.html#t:Maybe">Maybe</a> [(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>)] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>] -&gt; ([<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>], [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>], [(<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>)])<a href="src/Darcs-Patch-Apply.html#applyToFilePaths" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:applyToTree" class="def">applyToTree</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Functor">Functor</a> m, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a> m -&gt; m (<a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a> m)<a href="src/Darcs-Patch-Apply.html#applyToTree" class="link">Source</a></p><div class="doc"><p>Apply a patch to a <code><a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a></code>, yielding a new <code><a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:applyToState" class="def">applyToState</a> :: <span class="keyword">forall</span> p m x y. (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-ApplyMonad.html#t:ApplyMonadTrans">ApplyMonadTrans</a> m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p)) =&gt; p x y -&gt; <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p m -&gt; m (<a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p m)<a href="src/Darcs-Patch-Apply.html#applyToState" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:effectOnFilePaths" class="def">effectOnFilePaths</a> :: (<a href="Darcs-Patch-Apply.html#t:Apply">Apply</a> p, <a href="Darcs-Patch-Apply.html#t:ApplyState">ApplyState</a> p ~ <a href="/usr/share/doc/ghc/html/libraries/hashed-storage-0.5.9/Storage-Hashed-Tree.html#t:Tree">Tree</a>) =&gt; p x y -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>] -&gt; [<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/System-IO.html#t:FilePath">FilePath</a>]<a href="src/Darcs-Patch-Apply.html#effectOnFilePaths" class="link">Source</a></p></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>