purescript-contrib/purescript-parsing

manyTill_ combinator

jamesdbrock opened this issue · 3 comments

We should have the super-useful manyTill_ combinator.

Combinators.manyTill_

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)

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_

Resolved by #143