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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.Prim.V1.Core

Synopsis

Documentation

data DirPatchType wX wY Source

Constructors

RmDir 
AddDir 

Instances

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

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

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.