
While it is really strict and probably not grabbed for a lot, I was wondering if it would be beneficial to add a Group spec with the following bits and bobs:
A value that implements the Group specification must also implement
the Monoid specification.
g.concat(g.inverse()) is equivalent to g.empty() (right inverse)g.inverse().concat(g) is equivalent to g.empty() (left inverse)inverse methodinverse :: Group g => g ~> () -> g
Actually. Maybe because it is on an instance, it should be more VERB-y and go with invert like Haskell.
Well one person is good enough for me!!
Submitted this PR to address this issue.
Most helpful comment
Well one person is good enough for me!!
Submitted this PR to address this issue.