talash-0.3.0: Line oriented fast enough text search
Safe HaskellSafe-Inferred
LanguageHaskell2010

Talash.SimpleSearcher

Synopsis

Documentation

showMatchColor :: Handle -> [Text] -> IO () Source #

Outputs a matching candidate for the terminal with the matches highlighted in blue. Uses the Colored ErrorMessage monoid from `colorful-monoids` for coloring.

printMatches :: forall n m a. (KnownNat n, KnownNat m) => SearchFunctions a Text -> Chunks n -> SearchReport -> MatcherSized m a -> MatchSetSized m -> IO () Source #

printMatchesMvar :: forall n m a. (KnownNat n, KnownNat m) => SearchFunctions a Text -> MVar () -> Chunks n -> SearchReport -> MatcherSized m a -> MatchSetSized m -> IO () Source #