Skip to content

withRecovery #223

Description

@jamesdbrock

recoverWith will only fire the recovery parser on a failure, and as for the recovery parser, these things are usually incredibly simple, aggressively so.

Originally posted by @Violet-Codes in #222 (comment)

Already discussed in the above issue, but let's open a separate issue for creating a recoverWith or withRecovery function, because that could be supplied independent of the multiple-error feature.

See https://hackage.haskell.org/package/megaparsec-9.3.0/docs/Text-Megaparsec.html#v:withRecovery

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions