We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7d528b + 7283436 commit ae4f827Copy full SHA for ae4f827
src/combinators.ts
@@ -54,7 +54,7 @@ export const butNot = <Output>(
54
55
/**
56
* Map the output of `parser` to another `Parser` which is then applied to the
57
- * remaining input, flattening the parse results.
+ * remaining input, returning the result of the second parser upon success.
58
*/
59
export const flatMap = <Output, NewOutput>(
60
parser: Parser<Output>,
0 commit comments