Category instances for group, add_group, comm_group, and add_comm_group.

We introduce the bundled categories:

Implementation notes

See the note [locally reducible category instances].


Group

The category of groups and group morphisms.

Group.of

Construct a bundled Group from the underlying type and typeclass.

CommGroup

The category of commutative groups and group morphisms.

CommGroup.of

Construct a bundled CommGroup from the underlying type and typeclass.