Skip to content

More verbose error reporting #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

More verbose error reporting #15

wants to merge 5 commits into from

Conversation

crvs
Copy link

@crvs crvs commented Nov 29, 2019

Error reports using the Either monad instead of Maybe

crvs added 5 commits November 29, 2019 11:53
changed the error reporting from using the Maybe monad to the Either
monad.

new functions:
    - failP
        produce a parser that always fails with a given error message
        (for aggregating errors)
    - listToEither
        same as list to maybe except it explains why the failure ocurred
@rexim
Copy link
Member

rexim commented Dec 3, 2019

@crvs hey! Thank you very much for the contribution! Unfortunately these changes are superseded by #14. Sorry for any inconveniences!

@rexim rexim closed this Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants