Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The library should model that a Group induces a Groupoid #2

Open
Blaisorblade opened this issue Feb 9, 2013 · 1 comment
Open

The library should model that a Group induces a Groupoid #2

Blaisorblade opened this issue Feb 9, 2013 · 1 comment

Comments

@Blaisorblade
Copy link

Like a Semigroup induces a Semigroupoid, a Group induces a Groupoid.
The first relation is captured by the instance: Semigroup m => Semigroupoid (Semi m) (link to Hackage docs), but there is no such relationship defined. It would be something like:

instance Group m => Groupoid (Semi m) where
  inv (Semi n) = Semi (groupInv m)

I'm also missing a definition of Group among your packages.

I'm not asking this just so, but because I've run into an application where some concepts are naturally modeled using groupoids and groups (even though I'd need a slightly different definition).

@ekmett
Copy link
Owner

ekmett commented Apr 9, 2017

algebra supplies a group class, but is rather deeply unsuitable to this purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants