Skip to content

merge union and unionWith #4

@sebastian-philipp

Description

@sebastian-philipp

What about:

union :: Monoid a => StringMap a -> StringMap a -> StringMap a

the current union uses const as the combination function. Instead, we should use Monoid a, because Monoid is in my opintion a perfect match for this problem.

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