manyTill_ combinator
jamesdbrock opened this issue · 3 comments
jamesdbrock commented
We should have the super-useful manyTill_ combinator.
manyTill_ :: forall e m a s. Monad m => ParserT s m a -> ParserT s m e -> ParserT s m (Tuple (List a) e)Also
someTill_ :: forall e m a s. Monad m => ParserT s m a -> ParserT s m e -> ParserT s m (Tuple (List a) e)jamesdbrock commented
I've written a draft implementation of manyTill_ and many1Till_ and I'll submit a PR if you like.
jamesdbrock commented
I've published this in another package. Thinking about merging that package into this one. https://pursuit.purescript.org/packages/purescript-parsing-replace/docs/Text.Parsing.Replace.String.Combinator#v:manyTill_
jamesdbrock commented
Resolved by #143