Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
prog :: HighlightM () Source #
highlightOutputProducer :: Producer ByteString HighlightM () -> HighlightM (Producer Output HighlightM ()) Source #
handleStdinInput :: (HasColorGrepFilenames r, MonadState FromGrepFilenameState m, MonadReader r m) => RE -> ByteString -> m [ByteString] Source #
formatLineWithFilename :: RE -> Int -> ByteString -> ByteString -> [ByteString] Source #
formatNormalLine :: RE -> ByteString -> [ByteString] Source #
handleFileInput :: Monad m => RE -> FilenameHandlingFromFiles -> ByteString -> Int -> ByteString -> m [ByteString] Source #
handleError :: Monad m => ByteString -> IOException -> Maybe IOException -> m [ByteString] Source #
highlightMatchInRed :: RE -> ByteString -> ByteString Source #