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

Safe Haskell | None
Language | Haskell2010

Darcs.Patch.Debug

Synopsis

- class PatchDebug (p :: Type -> Type -> Type) where
  - patchDebugDummy :: p wX wY -> ()

# Documentation

class PatchDebug (p :: Type -> Type -> Type) where #

PatchDebug is a hook class for temporarily adding debug information. To use it, add any methods that are required, implement those methods where needed, and then make it available in the relevant contexts. For example it can be temporarily added as a superclass of `Patchy`. The advantage of having it here already is that everything is (or should be) declared as an instance of it, so you can use defaulting or just leave out declarations of instance methods and code will still compile.

Minimal complete definition

Nothing

Methods

patchDebugDummy :: p wX wY -> () #

A dummy method so we can export/import PatchDebug(..) without triggering warnings

#### Instances

Instances details

PatchDebug Prim # |
Instance details Defined in Darcs.Patch.Prim.V1.Core Methods patchDebugDummy :: Prim wX wY -> () #
PatchDebug p => PatchDebug (Named p) # |
Instance details Defined in Darcs.Patch.Named Methods patchDebugDummy :: Named p wX wY -> () #
PatchDebug p => PatchDebug (PatchInfoAndG p) # |
Instance details Defined in Darcs.Patch.PatchInfoAnd Methods patchDebugDummy :: PatchInfoAndG p wX wY -> () #
PatchDebug prim => PatchDebug (RebaseChange prim) # |
Instance details Defined in Darcs.Patch.Rebase.Change Methods patchDebugDummy :: RebaseChange prim wX wY -> () #
PatchDebug prim => PatchDebug (RepoPatchV1 prim) # |
Instance details Defined in Darcs.Patch.V1.Core Methods patchDebugDummy :: RepoPatchV1 prim wX wY -> () #
PatchDebug prim => PatchDebug (RepoPatchV2 prim) # |
Instance details Defined in Darcs.Patch.V2.RepoPatch Methods patchDebugDummy :: RepoPatchV2 prim wX wY -> () #
PatchDebug p => PatchDebug (FL p) # |
Instance details Defined in Darcs.Patch.Debug Methods patchDebugDummy :: FL p wX wY -> () #
PatchDebug p => PatchDebug (RL p) # |
Instance details Defined in Darcs.Patch.Debug Methods patchDebugDummy :: RL p wX wY -> () #
PatchDebug prim => PatchDebug (RepoPatchV3 name prim) # |
Instance details Defined in Darcs.Patch.V3.Core Methods patchDebugDummy :: RepoPatchV3 name prim wX wY -> () #