Skip to content

Commit

Permalink
Merge 8e386f3 into a9a89be
Browse files Browse the repository at this point in the history
  • Loading branch information
abdih authored Sep 6, 2019
2 parents a9a89be + 8e386f3 commit 7a0f1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ The same caveat for contramap above applies to promap.

## parser.result(value)

Returns a new parser with the same behavior, but which yields `value`. Equivalent to `parser.map(function(x) { return x; }.bind(value))`.
Returns a new parser with the same behavior, but which yields `value`. Equivalent to `parser.map(function(x) { return x; }.bind(null, value))`.

## parser.fallback(value)

Expand Down

0 comments on commit 7a0f1b7

Please sign in to comment.