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

Darcs.Patch.Summary

Synopsis

Documentation

plainSummary :: (Summary e, PrimDetails (PrimOf e)) => e wX wY -> Doc Source #

plainSummaryPrim :: PrimDetails prim => prim wX wY -> Doc Source #

plainSummaryPrims :: PrimDetails prim => Bool -> FL prim wX wY -> Doc Source #

xmlSummary :: (Summary p, PrimDetails (PrimOf p)) => p wX wY -> Doc Source #

class Summary p where Source #

Methods

conflictedEffect :: p wX wY -> [IsConflictedPrim (PrimOf p)] Source #

Instances

Instances details
Summary p => Summary (Named p) Source # 
Instance details

Defined in Darcs.Patch.Named

Commute prim => Summary (RebaseChange prim) Source # 
Instance details

Defined in Darcs.Patch.Rebase.Change

PrimPatch prim => Summary (RepoPatchV1 prim) Source # 
Instance details

Defined in Darcs.Patch.V1.Commute

Summary (RepoPatchV2 prim) Source # 
Instance details

Defined in Darcs.Patch.V2.RepoPatch

Summary p => Summary (FL p) Source # 
Instance details

Defined in Darcs.Patch.Summary

Methods

conflictedEffect :: FL p wX wY -> [IsConflictedPrim (PrimOf (FL p))] Source #

Summary (RepoPatchV3 name prim) Source # 
Instance details

Defined in Darcs.Patch.V3.Core

Methods

conflictedEffect :: RepoPatchV3 name prim wX wY -> [IsConflictedPrim (PrimOf (RepoPatchV3 name prim))] Source #

data IsConflictedPrim prim where Source #

This type tags a patch with a ConflictState and also hides the context witnesses (as in Sealed2), so we can put them in a list.

Constructors

IsC :: !ConflictState -> !(prim wX wY) -> IsConflictedPrim prim 

Instances

Instances details
Show2 prim => Show (IsConflictedPrim prim) Source # 
Instance details

Defined in Darcs.Patch.Summary