Sophie

Sophie

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

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.Repository.InternalTypes</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-Repository-InternalTypes.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Darcs-Repository-InternalTypes.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>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Darcs.Repository.InternalTypes</p></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:Repository">Repository</a> p recordedstate unrecordedstate tentativestate = <a href="#v:Repo">Repo</a> !<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> ![<a href="Darcs-Flags.html#t:DarcsFlag">DarcsFlag</a>] !<a href="Darcs-Repository-Format.html#t:RepoFormat">RepoFormat</a> !(<a href="Darcs-Repository-InternalTypes.html#t:RepoType">RepoType</a> p)</li><li class="src short"><span class="keyword">data</span>  <a href="#t:RepoType">RepoType</a> p = <a href="#v:DarcsRepository">DarcsRepository</a> !<a href="Darcs-Repository-InternalTypes.html#t:Pristine">Pristine</a> <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Pristine">Pristine</a> <ul class="subs"><li>= <a href="#v:NoPristine">NoPristine</a>  </li><li>| <a href="#v:PlainPristine">PlainPristine</a>  </li><li>| <a href="#v:HashedPristine">HashedPristine</a>  </li></ul></li><li class="src short"><a href="#v:extractCache">extractCache</a> ::  <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a></li><li class="src short"><a href="#v:extractOptions">extractOptions</a> ::  <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; [<a href="Darcs-Flags.html#t:DarcsFlag">DarcsFlag</a>]</li><li class="src short"><a href="#v:modifyCache">modifyCache</a> :: <span class="keyword">forall</span> p r u t. <a href="Darcs-Patch-RepoPatch.html#t:RepoPatch">RepoPatch</a> p =&gt; <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; (<a href="Darcs-Repository-Cache.html#t:Cache">Cache</a> -&gt; <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a>) -&gt; <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Repository" class="def">Repository</a> p recordedstate unrecordedstate tentativestate <a href="src/Darcs-Repository-InternalTypes.html#Repository" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Repo" class="def">Repo</a> !<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> ![<a href="Darcs-Flags.html#t:DarcsFlag">DarcsFlag</a>] !<a href="Darcs-Repository-Format.html#t:RepoFormat">RepoFormat</a> !(<a href="Darcs-Repository-InternalTypes.html#t:RepoType">RepoType</a> p)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Repository" class="caption collapser" onclick="toggleSection('i:Repository')">Instances</p><div id="section.i:Repository" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (<a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p recordedstate unrecordedstate tentativestate)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:RepoType" class="def">RepoType</a> p <a href="src/Darcs-Repository-InternalTypes.html#RepoType" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DarcsRepository" class="def">DarcsRepository</a> !<a href="Darcs-Repository-InternalTypes.html#t:Pristine">Pristine</a> <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:RepoType" class="caption collapser" onclick="toggleSection('i:RepoType')">Instances</p><div id="section.i:RepoType" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (<a href="Darcs-Repository-InternalTypes.html#t:RepoType">RepoType</a> p)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Pristine" class="def">Pristine</a>  <a href="src/Darcs-Repository-InternalTypes.html#Pristine" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:NoPristine" class="def">NoPristine</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:PlainPristine" class="def">PlainPristine</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:HashedPristine" class="def">HashedPristine</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Pristine" class="caption collapser" onclick="toggleSection('i:Pristine')">Instances</p><div id="section.i:Pristine" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Darcs-Repository-InternalTypes.html#t:Pristine">Pristine</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/Text-Show.html#t:Show">Show</a> <a href="Darcs-Repository-InternalTypes.html#t:Pristine">Pristine</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:extractCache" class="def">extractCache</a> ::  <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a><a href="src/Darcs-Repository-InternalTypes.html#extractCache" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:extractOptions" class="def">extractOptions</a> ::  <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; [<a href="Darcs-Flags.html#t:DarcsFlag">DarcsFlag</a>]<a href="src/Darcs-Repository-InternalTypes.html#extractOptions" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:modifyCache" class="def">modifyCache</a> :: <span class="keyword">forall</span> p r u t. <a href="Darcs-Patch-RepoPatch.html#t:RepoPatch">RepoPatch</a> p =&gt; <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t -&gt; (<a href="Darcs-Repository-Cache.html#t:Cache">Cache</a> -&gt; <a href="Darcs-Repository-Cache.html#t:Cache">Cache</a>) -&gt; <a href="Darcs-Repository-InternalTypes.html#t:Repository">Repository</a> p r u t<a href="src/Darcs-Repository-InternalTypes.html#modifyCache" class="link">Source</a></p><div class="doc"><p><code><a href="Darcs-Repository-InternalTypes.html#v:modifyCache">modifyCache</a></code> <code>repository function</code> modifies the cache of
   <code>repository</code> with <code>function</code>, remove duplicates and sort the results with <code><a href="Darcs-Repository-Cache.html#v:compareByLocality">compareByLocality</a></code>.
</p></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>