streamly
streamly copied to clipboard
Rename some parsers
trafficstars
element can be confused with elem fold, so change it to matching, and so change except to notMatching.
one -> anyOne
element -> match, matching
except -> otherThan, matchNot, notMatching
one is called head in folds. A better name for it would be next which applies equally well for folds as well as parsers. We should deprecate the head fold. There is also a one fold, we can rename that to next.
See https://github.com/composewell/streamly/pull/1976