darcs-2.11.0: a distributed, interactive, smart revision control system

Safe HaskellNone

Darcs.Patch.Prim.V1.Core

Synopsis

Documentation

data DirPatchType wX wY

Constructors

RmDir 
AddDir 

Instances

isIdentity :: Prim wX wY -> EqCheck wX wY

comparePrim :: Prim wX wY -> Prim wW wZ -> Ordering

comparePrim p1 p2 is used to provide an arbitrary ordering between p1 and p2. Basically, identical patches are equal and Move < DP < FP < ChangePref. Everything else is compared in dictionary order of its arguments.