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

Safe HaskellNone




class PatchDebug p 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.


patchDebugDummy :: p wX wY -> ()

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