Skip to content

Consider adding Group type class instance #5

@gwils

Description

@gwils

Given that we've chosen addition as the monoid for money, we can define an instance for Group too.
But where should we get group from? The groups package seems almost unused, and I can't find its source on github.

Maybe we should depend on the albegra package instead.
It's worth looking at that package. As well as group, what other algebraic structures does it provide that money fits?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions