Skip to content

Commit

Permalink
Merge 1efbdfc into f71a738
Browse files Browse the repository at this point in the history
  • Loading branch information
golopot committed Jun 29, 2019
2 parents f71a738 + 1efbdfc commit 86809b4
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 @@ -981,7 +981,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(() => value)`.

## parser.fallback(value)

Expand Down

0 comments on commit 86809b4

Please sign in to comment.