Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parse and combine a stream of tags.
Synopsis
- tagParser :: MonadIO m => Parser (Maybe (Tag tk)) -> Producer Text m () -> Producer (Tag tk) m ()
- combineTagsPipe :: forall m (tk :: TAG_KIND). Applicative m => (Tag tk -> Tag tk -> Ordering) -> FilePath -> Tag tk -> [Tag tk] -> Producer (Tag tk) m [Tag tk]
- runCombineTagsPipe :: MonadIO m => Handle -> (Tag tk -> Tag tk -> Ordering) -> (Tag tk -> Builder) -> FilePath -> Tag tk -> Effect (StateT [Tag tk] m) ()
Documentation
:: MonadIO m | |
=> Parser (Maybe (Tag tk)) | Parse a single tag. For Vim this returns should parse a single
line and return the tag, e.g |
-> Producer Text m () | |
-> Producer (Tag tk) m () |
Parse a stream of tags, coming from a Text
producer.