streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Reconcile parser APIs accepting folds/parsers

Open harendra-kumar opened this issue 3 years ago • 1 comments

For example we have a takeWhile and takeWhileP. Should we keep both or just rename takeWhileP as takeWhile because it is more powerful and covers the other case as well.

harendra-kumar avatar May 06 '22 13:05 harendra-kumar

There are other such parsers if we plan to keep both versions than we need to follow the naming convention so that we rename the Parser accepting ones with a P suffix, specifically takeEndBy parser.

harendra-kumar avatar Sep 19 '22 18:09 harendra-kumar