Function used to recover from a failure. The kind, reason, and value fields of the result are used to determine the new parser success state. You can return a falsy value to indicate nothing should change.
kind
reason
value
Function used to recover from a failure. The
kind
,reason
, andvalue
fields of the result are used to determine the new parser success state. You can return a falsy value to indicate nothing should change.