Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

IO should not be instance of MonadPlus #3

@safareli

Description

@safareli

IO does not satisfies Distributivity law of MonadPlus: (x <|> y) >>= f == (x >>= f) <|> (y >>= f), see Which satisfieswhat. IO is MonadOr which currently is not defined in purescript-control

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