From 7283436c4ea74ae7ea7da8abdfa0897f0aa22105 Mon Sep 17 00:00:00 2001 From: Matt Kantor Date: Sun, 27 Apr 2025 08:56:11 -0400 Subject: [PATCH] Clarify `flatMap`'s docblock --- src/combinators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/combinators.ts b/src/combinators.ts index 3c09f15..0ff2967 100644 --- a/src/combinators.ts +++ b/src/combinators.ts @@ -54,7 +54,7 @@ export const butNot = ( /** * Map the output of `parser` to another `Parser` which is then applied to the - * remaining input, flattening the parse results. + * remaining input, returning the result of the second parser upon success. */ export const flatMap = ( parser: Parser,