Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Named p wX wY where
- infopatch :: forall p wX wY. FromPrim p => PatchInfo -> FL (PrimOf p) wX wY -> Named p wX wY
- adddeps :: Named p wX wY -> [PatchInfo] -> Named p wX wY
- anonymous :: FromPrim p => FL (PrimOf p) wX wY -> IO (Named p wX wY)
- class HasDeps p where
- patch2patchinfo :: Named p wX wY -> PatchInfo
- patchname :: Named p wX wY -> String
- patchcontents :: Named p wX wY -> FL p wX wY
- fmapNamed :: (forall wA wB. p wA wB -> q wA wB) -> Named p wX wY -> Named q wX wY
- fmapFL_Named :: (FL p wA wB -> FL q wC wD) -> Named p wA wB -> Named q wC wD
- mergerIdNamed :: MergeFn p1 p2 -> MergeFn p1 (Named p2)
- data ShowDepsFormat
- showDependencies :: ShowDepsFormat -> [PatchInfo] -> Doc
Documentation
data Named p wX wY where Source #
The Named
type adds a patch info about a patch, that is a name.
NamedP info deps p
represents patch p
with name
info
. deps
is a list of dependencies added at the named patch
level, compared with the unnamed level (ie, dependencies added with
darcs record --ask-deps
).
Instances
infopatch :: forall p wX wY. FromPrim p => PatchInfo -> FL (PrimOf p) wX wY -> Named p wX wY Source #
class HasDeps p where Source #
This slightly ad-hoc class is here so we can call getdeps
with patch
types that wrap a Named
, such as RebaseChange
.
Instances
HasDeps (Named p) Source # | |
HasDeps (RebaseChange prim) Source # | |
Defined in Darcs.Patch.Rebase.Change getdeps :: RebaseChange prim wX wY -> [PatchInfo] Source # |
patch2patchinfo :: Named p wX wY -> PatchInfo Source #
patchcontents :: Named p wX wY -> FL p wX wY Source #
data ShowDepsFormat Source #
Instances
Eq ShowDepsFormat Source # | |
Defined in Darcs.Patch.Named (==) :: ShowDepsFormat -> ShowDepsFormat -> Bool # (/=) :: ShowDepsFormat -> ShowDepsFormat -> Bool # |
showDependencies :: ShowDepsFormat -> [PatchInfo] -> Doc Source #