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

Darcs.Patch.Match

Synopsis

Documentation

data Matcher p Source

A Matcher is made of a MatchFun which we will use to match patches and a String representing it.

Instances

type MatchFun p = Sealed2 (PatchInfoAnd p) -> BoolSource

A type for predicates over patches which do not care about contexts

apply_matcher :: Matcher p -> PatchInfoAnd p -> BoolSource

apply_matcher applies a matcher to a patch.

helpOnMatchers :: StringSource

The string that is emitted when the user runs darcs help --match.