Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- printPatch :: ShowPatch p => p wX wY -> IO ()
- contextualPrintPatch :: (ShowContextPatch p, ApplyState p ~ Tree) => Tree IO -> p wX wY -> IO ()
- printPatchPager :: ShowPatch p => p wX wY -> IO ()
- printFriendly :: (ShowPatch p, ShowContextPatch p, ApplyState p ~ Tree) => Maybe (Tree IO) -> Verbosity -> Summary -> WithContext -> p wX wY -> IO ()
- showFriendly :: ShowPatch p => Verbosity -> Summary -> p wX wY -> Doc
Documentation
printPatch :: ShowPatch p => p wX wY -> IO () Source #
printPatch
prints a patch on standard output.
contextualPrintPatch :: (ShowContextPatch p, ApplyState p ~ Tree) => Tree IO -> p wX wY -> IO () Source #
contextualPrintPatch
prints a patch, together with its context, on
standard output.
printPatchPager :: ShowPatch p => p wX wY -> IO () Source #
printPatchPager
runs '$PAGER' and shows a patch in it.
printFriendly :: (ShowPatch p, ShowContextPatch p, ApplyState p ~ Tree) => Maybe (Tree IO) -> Verbosity -> Summary -> WithContext -> p wX wY -> IO () Source #
prints printFriendly
opts patchpatch
in accordance with the flags
in opts, ie, whether --verbose
or --summary
were passed at the
command-line.
showFriendly :: ShowPatch p => Verbosity -> Summary -> p wX wY -> Doc Source #
returns a showFriendly
flags patchDoc
representing the right
way to show patch
given the list flags
of flags darcs was invoked with.