<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Darcs.Patch.Patchy</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Darcs-Patch-Patchy.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >darcs-2.4.4: a distributed, interactive, smart revision control system</TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Darcs.Patch.Patchy</FONT ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > (<A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p) => <A HREF="#t%3APatchy" >Patchy</A > p </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="#t%3AApply" >Apply</A > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3Aapply" >apply</A > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> p -> m <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AapplyAndTryToFix" >applyAndTryToFix</A > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => p -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A >, p))</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AapplyAndTryToFixFL" >applyAndTryToFixFL</A > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => p -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A >, <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p))</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AmapMaybeSnd" >mapMaybeSnd</A > :: (a -> b) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (c, a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (c, b)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="#t%3ACommute" >Commute</A > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3Acommute" >commute</A > :: (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Amerge" >merge</A > :: (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%5C%2F%3A" >:\/:</A > p) -> p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%2F%5C%3A" >:/\:</A > p</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AlistTouchedFiles" >listTouchedFiles</A > :: p -> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A >]</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AhunkMatches" >hunkMatches</A > :: (<A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.5/Data-ByteString.html#t%3AByteString" >ByteString</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A >) -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcommuteFL" >commuteFL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed2" >Sealed2</A > p) (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcommuteRL" >commuteRL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcommuteRLFL" >commuteRLFL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AmergeFL" >mergeFL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%5C%2F%3A" >:\/:</A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%2F%5C%3A" >:/\:</A > p</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtoFwdCommute" >toFwdCommute</A > :: (<A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > q, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AMonad" >Monad</A > m) => ((p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > q) -> m (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > p)) -> (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> m (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > q)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtoRevCommute" >toRevCommute</A > :: (<A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > q, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AMonad" >Monad</A > m) => ((p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > q) -> m (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)) -> (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > p) -> m (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > q)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="#t%3AShowPatch" >ShowPatch</A > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3AshowPatch" >showPatch</A > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AshowNicely" >showNicely</A > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AshowContextPatch" >showContextPatch</A > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Monad.html#t%3ATreeIO" >TreeIO</A > <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Adescription" >description</A > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Asummary" >summary</A > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AwritePatch" >writePatch</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgzWritePatch" >gzWritePatch</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Athing" >thing</A > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Athings" >things</A > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="#t%3AReadPatch" >ReadPatch</A > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3AreadPatch%27" >readPatch'</A > :: <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A > -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > p))</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AbracketedFL" >bracketedFL</A > :: (<A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p, <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m) => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Word.html#t%3AWord8" >Word8</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Word.html#t%3AWord8" >Word8</A > -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Apeekfor" >peekfor</A > :: <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> m a -> m a -> m a</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Darcs-Witnesses-Ordered.html#t%3AMyEq" >MyEq</A > p => <A HREF="#t%3AInvert" >Invert</A > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="#v%3Ainvert" >invert</A > :: p -> p</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3Aidentity" >identity</A > :: p</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AsloppyIdentity" >sloppyIdentity</A > :: p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AEqCheck" >EqCheck</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AinvertFL" >invertFL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AinvertRL" >invertRL</A > :: <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > (<A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p) => <A NAME="t:Patchy" ><A NAME="t%3APatchy" ></A ></A ><B >Patchy</B > p </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Patchy')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Patchy" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch.html#t%3ARepoPatch" >RepoPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3APatchy" >Patchy</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A NAME="t:Apply" ><A NAME="t%3AApply" ></A ></A ><B >Apply</B > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" >Methods</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A NAME="v:apply" ><A NAME="v%3Aapply" ></A ></A ><B >apply</B > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => [<A HREF="Darcs-Flags.html#t%3ADarcsFlag" >DarcsFlag</A >] -> p -> m <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:applyAndTryToFix" ><A NAME="v%3AapplyAndTryToFix" ></A ></A ><B >applyAndTryToFix</B > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => p -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A >, p))</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:applyAndTryToFixFL" ><A NAME="v%3AapplyAndTryToFixFL" ></A ></A ><B >applyAndTryToFixFL</B > :: <A HREF="Darcs-IO.html#t%3AWriteableDirectory" >WriteableDirectory</A > m => p -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A >, <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p))</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Apply')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Apply" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mapMaybeSnd" ><A NAME="v%3AmapMaybeSnd" ></A ></A ><B >mapMaybeSnd</B > :: (a -> b) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (c, a) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (c, b)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A NAME="t:Commute" ><A NAME="t%3ACommute" ></A ></A ><B >Commute</B > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="ndoc" >Things that can commute. </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" >Methods</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A NAME="v:commute" ><A NAME="v%3Acommute" ></A ></A ><B >commute</B > :: (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:merge" ><A NAME="v%3Amerge" ></A ></A ><B >merge</B > :: (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%5C%2F%3A" >:\/:</A > p) -> p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%2F%5C%3A" >:/\:</A > p</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:listTouchedFiles" ><A NAME="v%3AlistTouchedFiles" ></A ></A ><B >listTouchedFiles</B > :: p -> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A >]</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:hunkMatches" ><A NAME="v%3AhunkMatches" ></A ></A ><B >hunkMatches</B > :: (<A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.5/Data-ByteString.html#t%3AByteString" >ByteString</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A >) -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Commute')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Commute" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (PatchChoice p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > (<A HREF="Darcs-Patch-Choices.html#t%3ATaggedPatch" >TaggedPatch</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:commuteFL" ><A NAME="v%3AcommuteFL" ></A ></A ><B >commuteFL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Either.html#t%3AEither" >Either</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed2" >Sealed2</A > p) (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:commuteRL" ><A NAME="v%3AcommuteRL" ></A ></A ><B >commuteRL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:commuteRLFL" ><A NAME="v%3AcommuteRLFL" ></A ></A ><B >commuteRLFL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:mergeFL" ><A NAME="v%3AmergeFL" ></A ></A ><B >mergeFL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%5C%2F%3A" >:\/:</A > <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p) -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%2F%5C%3A" >:/\:</A > p</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:toFwdCommute" ><A NAME="v%3AtoFwdCommute" ></A ></A ><B >toFwdCommute</B > :: (<A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > q, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AMonad" >Monad</A > m) => ((p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > q) -> m (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > p)) -> (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p) -> m (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > q)</TD ></TR ><TR ><TD CLASS="doc" >Swaps the ordered pair type so that commute can be called directly. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:toRevCommute" ><A NAME="v%3AtoRevCommute" ></A ></A ><B >toRevCommute</B > :: (<A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > q, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Control-Monad.html#t%3AMonad" >Monad</A > m) => ((p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > q) -> m (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3E" >:></A > p)) -> (q <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > p) -> m (p <A HREF="Darcs-Witnesses-Ordered.html#t%3A%3A%3C" >:<</A > q)</TD ></TR ><TR ><TD CLASS="doc" >Swaps the ordered pair type from the order expected by commute to the reverse order. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p => <A NAME="t:ShowPatch" ><A NAME="t%3AShowPatch" ></A ></A ><B >ShowPatch</B > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" >Methods</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A NAME="v:showPatch" ><A NAME="v%3AshowPatch" ></A ></A ><B >showPatch</B > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:showNicely" ><A NAME="v%3AshowNicely" ></A ></A ><B >showNicely</B > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:showContextPatch" ><A NAME="v%3AshowContextPatch" ></A ></A ><B >showContextPatch</B > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/hashed-storage-0.4.13/Storage-Hashed-Monad.html#t%3ATreeIO" >TreeIO</A > <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:description" ><A NAME="v%3Adescription" ></A ></A ><B >description</B > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:summary" ><A NAME="v%3Asummary" ></A ></A ><B >summary</B > :: p -> <A HREF="Printer.html#t%3ADoc" >Doc</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:writePatch" ><A NAME="v%3AwritePatch" ></A ></A ><B >writePatch</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:gzWritePatch" ><A NAME="v%3AgzWritePatch" ></A ></A ><B >gzWritePatch</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AFilePath" >FilePath</A > -> p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:thing" ><A NAME="v%3Athing" ></A ></A ><B >thing</B > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:things" ><A NAME="v%3Athings" ></A ></A ><B >things</B > :: p -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ShowPatch')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ShowPatch" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AApply" >Apply</A > p, <A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Prim.html#t%3AConflict" >Conflict</A > p, <A HREF="Darcs-Patch-Prim.html#t%3AEffect" >Effect</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AShowPatch" >ShowPatch</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A NAME="t:ReadPatch" ><A NAME="t%3AReadPatch" ></A ></A ><B >ReadPatch</B > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" >Methods</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A NAME="v:readPatch'" ><A NAME="v%3AreadPatch%27" ></A ></A ><B >readPatch'</B > :: <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Bool.html#t%3ABool" >Bool</A > -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > p))</TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ReadPatch')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ReadPatch" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:bracketedFL" ><A NAME="v%3AbracketedFL" ></A ></A ><B >bracketedFL</B > :: (<A HREF="Darcs-Patch-Patchy.html#t%3AReadPatch" >ReadPatch</A > p, <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m) => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Word.html#t%3AWord8" >Word8</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Word.html#t%3AWord8" >Word8</A > -> m (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Maybe.html#t%3AMaybe" >Maybe</A > (<A HREF="Darcs-Witnesses-Sealed.html#t%3ASealed" >Sealed</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)))</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:peekfor" ><A NAME="v%3Apeekfor" ></A ></A ><B >peekfor</B > :: <A HREF="Darcs-Patch-ReadMonads.html#t%3AParserM" >ParserM</A > m => <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.0/Data-Char.html#t%3AString" >String</A > -> m a -> m a -> m a</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Darcs-Witnesses-Ordered.html#t%3AMyEq" >MyEq</A > p => <A NAME="t:Invert" ><A NAME="t%3AInvert" ></A ></A ><B >Invert</B > p <SPAN CLASS="keyword" >where</SPAN ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" >Methods</TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A NAME="v:invert" ><A NAME="v%3Ainvert" ></A ></A ><B >invert</B > :: p -> p</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:identity" ><A NAME="v%3Aidentity" ></A ></A ><B >identity</B > :: p</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:sloppyIdentity" ><A NAME="v%3AsloppyIdentity" ></A ></A ><B >sloppyIdentity</B > :: p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AEqCheck" >EqCheck</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Invert')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Invert" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > <A HREF="Darcs-Patch-Prim.html#t%3APrim" >Prim</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > <A HREF="Darcs-Patch-Core.html#t%3APatch" >Patch</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > <A HREF="Darcs-Patch-Real.html#t%3ARealPatch" >RealPatch</A ></TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p)</TD ></TR ><TR ><TD CLASS="decl" >(<A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p, <A HREF="Darcs-Patch-Patchy.html#t%3ACommute" >Commute</A > p) => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Patch-Core.html#t%3ANamed" >Named</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Hopefully.html#t%3APatchInfoAnd" >PatchInfoAnd</A > p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (PatchChoice p)</TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > (<A HREF="Darcs-Patch-Choices.html#t%3ATaggedPatch" >TaggedPatch</A > p)</TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:invertFL" ><A NAME="v%3AinvertFL" ></A ></A ><B >invertFL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:invertRL" ><A NAME="v%3AinvertRL" ></A ></A ><B >invertRL</B > :: <A HREF="Darcs-Patch-Patchy.html#t%3AInvert" >Invert</A > p => <A HREF="Darcs-Witnesses-Ordered.html#t%3ARL" >RL</A > p -> <A HREF="Darcs-Witnesses-Ordered.html#t%3AFL" >FL</A > p</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.0</TD ></TR ></TABLE ></BODY ></HTML >