darcs-2.18.3: a distributed, interactive, smart revision control system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Darcs.Patch.V2.Prim

Documentation

newtype Prim x y Source #

Constructors

Prim 

Fields

Instances

Instances details
Annotate Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

annotate :: Prim wX wY -> AnnotatedM () Source #

Apply Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Associated Types

type ApplyState Prim :: (Type -> Type) -> Type Source #

Methods

apply :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m () Source #

unapply :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m () Source #

Commute Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

commute :: (Prim :> Prim) wX wY -> Maybe ((Prim :> Prim) wX wY) Source #

IsHunk Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

isHunk :: Prim wX wY -> Maybe (FileHunk (ObjectIdOfPatch Prim) wX wY) Source #

PatchListFormat Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

PatchInspect Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Invert Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

invert :: Prim wX wY -> Prim wY wX Source #

CleanMerge Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

cleanMerge :: (Prim :\/: Prim) wX wY -> Maybe ((Prim :/\: Prim) wX wY) Source #

PrimApply Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

applyPrimFL :: ApplyMonad (ApplyState Prim) m => FL Prim wX wY -> m () Source #

PrimCoalesce Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

tryToShrink :: FL Prim wX wY -> Maybe (FL Prim wX wY) Source #

sortCoalesceFL :: FL Prim wX wY -> FL Prim wX wY Source #

primCoalesce :: Prim wX wY -> Prim wY wZ -> Maybe (Prim wX wZ) Source #

isIdentity :: Prim wX wY -> EqCheck wX wY Source #

comparePrim :: Prim wA wB -> Prim wC wD -> Ordering Source #

PrimConstruct Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

PrimDetails Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

summarizePrim :: Prim wX wY -> [SummDetail] Source #

PrimMangleUnravelled Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

PrimSift Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

primIsSiftable :: Prim wX wY -> Bool Source #

ReadPatch Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

readPatch' :: Parser (Sealed (Prim wX)) Source #

RepairToFL Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

applyAndTryToFixFL :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m (Maybe (String, FL Prim wX wY)) Source #

ShowContextPatch Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

ShowPatch Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

content :: Prim wX wY -> Doc Source #

description :: Prim wX wY -> Doc Source #

summary :: Prim wX wY -> Doc Source #

summaryFL :: FL Prim wX wY -> Doc Source #

thing :: Prim wX wY -> String Source #

things :: Prim wX wY -> String Source #

ShowPatchBasic Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

showPatch :: ShowPatchFor -> Prim wX wY -> Doc Source #

Eq2 Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

unsafeCompare :: Prim wA wB -> Prim wC wD -> Bool Source #

(=\/=) :: Prim wA wB -> Prim wA wC -> EqCheck wB wC Source #

(=/\=) :: Prim wA wC -> Prim wB wC -> EqCheck wA wB Source #

Show2 Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

showDict2 :: ShowDict (Prim wX wY) Source #

IsPrimV1 Prim Source # 
Instance details

Defined in Darcs.Repository.Job

Methods

toPrimV1 :: Prim wX wY -> Prim0 wX wY Source #

Show1 (Prim wX) Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

showDict1 :: Dict (Show (Prim wX wX0)) Source #

Show (Prim x y) Source # 
Instance details

Defined in Darcs.Patch.V2.Prim

Methods

showsPrec :: Int -> Prim x y -> ShowS #

show :: Prim x y -> String #

showList :: [Prim x y] -> ShowS #

type ApplyState Prim Source # 
Instance details

Defined in Darcs.Patch.V2.Prim