Skip to content

forM_ and mapM_ and family require Monad, not Applicative #108

@ghost

Description

The functions forM_ and mapM_ (and other similar functions doing monadic folds) appearing in ClassyPrelude require that they be used for a Monad, when an Applicative would be enough. Is there a technical reason for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions