Skip to content

Is there a reason for no MonadFail instance? #306

@luke-clifton

Description

@luke-clifton

Sometimes it would be neat to be able to use a fallible pattern match in do-notation, similar to what we get with lists. This is enabled by having a MonadFail instance.

I was wondering if there was some reason why there is no MonadFail instance available that I can not see?

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