Skip to content

takeWhileP/takeWhileP1? #175

Answered by j-mie6
Truedrog asked this question in Q&A
Mar 29, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Parsley 4.4.0-M2 has exposed an overloading of stringOfMany, and stringOfSome, that allow for a predicate to be passed: this models the desired behaviour of takeWhileP from mgeaparsec. This will make it into the 4.4.0 release properly in due course.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Truedrog
Comment options

@j-mie6
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by j-mie6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants