Skip to content

withRecovery #223

Open
Open
@jamesdbrock

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

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