-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Generate checklists relevant to a given patch
--
-- Generate checklists relevant to a given patch
@package checkmate
@version 0.1.2
module Checkmate.Diff
rangeFromDiffRange :: Range -> Range Int
module Checkmate.Check
data Check
Check :: Scope -> Int -> Text -> Check
[checkScope] :: Check -> Scope
[checkOrderIndex] :: Check -> Int
[checkText] :: Check -> Text
type Checklist = Set Check
data Scope
FileBlock :: FilePath -> Range Int -> Scope
[scopePath] :: Scope -> FilePath
[scopeRange] :: Scope -> Range Int
Directory :: FilePath -> Scope
[scopePath] :: Scope -> FilePath
-- | O(n+m). The union of two sets, preferring the first set when
-- equal elements are encountered. The implementation uses the efficient
-- hedge-union algorithm.
union :: Ord a => Set a -> Set a -> Set a
instance GHC.Show.Show Checkmate.Check.Check
instance GHC.Classes.Eq Checkmate.Check.Check
instance GHC.Show.Show Checkmate.Check.Scope
instance GHC.Classes.Eq Checkmate.Check.Scope
instance GHC.Classes.Ord Checkmate.Check.Check
module Checkmate.Parser.CheckFile
parseCheckFile :: FilePath -> IO (Either (ParseError (Token Text) Dec) Checklist)
parseCheckFileText :: FilePath -> Text -> Either (ParseError (Token Text) Dec) Checklist
parser :: FilePath -> Parser Checklist
module Checkmate.Parser.IndentBlock
parser :: Parser Checklist
parseSourceCode :: FilePath -> Text -> Either (ParseError (Token Text) Dec) Checklist
parseSourceFile :: FilePath -> IO (Either (ParseError (Token Text) Dec) Checklist)
instance GHC.Show.Show Checkmate.Parser.IndentBlock.Line
instance GHC.Classes.Ord Checkmate.Parser.IndentBlock.Line
instance GHC.Classes.Eq Checkmate.Parser.IndentBlock.Line
module Checkmate.Discover
discover :: FilePath -> FileDeltas -> IO Checklist
discoverDirectory :: FilePath -> FilePath -> IO Checklist
discoverFile :: FilePath -> FileDelta -> IO Checklist
parseDiff :: Text -> Either String FileDeltas
module Checkmate.Renderer
toCommonMark :: FilePath -> Int -> Checklist -> Text
toGFMarkdown :: FilePath -> Int -> Checklist -> Text