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.
flatMap
1 parent f7d528b commit 7283436Copy full SHA for 7283436
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