Skip to content

Add asumMap #81

@chshersh

Description

@chshersh

There're useful asum function:

asum :: (Foldable t, Alternative f) => t (f a) -> f a

But sometimes it's desired to have following function:

asumMap :: (Foldable t, Alternative f) => (a -> f b) -> t a -> f b

(not sure about the constraints)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfesthttps://hacktoberfest.digitalocean.com/good first issueGood for newcomersnewBring something new into library (add function or type or interface)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions