Skip to content

Add foldlWithKeyM #793

Open
Open
@andrewthad

Description

@andrewthad

The type would be:

foldlWithKeyM :: Monad m => (a -> k -> b -> m a) -> a -> Map k b -> m a

I'm happy to contribute this if it would be accepted.

Activity

treeowl

treeowl commented on Aug 14, 2021

@treeowl
Contributor
andrewthad

andrewthad commented on Aug 15, 2021

@andrewthad
Author

I could add the right variant as well. I haven’t ever needed it, but it would be good to have as well.

treeowl

treeowl commented on Aug 15, 2021

@treeowl
Contributor
linked a pull request that will close this issue on Aug 16, 2021
andrewthad

andrewthad commented on Aug 16, 2021

@andrewthad
Author

See #795 and we can continue discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @treeowl@sjakobi@andrewthad

      Issue actions

        Add foldlWithKeyM · Issue #793 · haskell/containers