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

Groupoid #232

Open
sadasant opened this issue Mar 23, 2017 · 7 comments
Open

Groupoid #232

sadasant opened this issue Mar 23, 2017 · 7 comments

Comments

@sadasant
Copy link

sadasant commented Mar 23, 2017

Algebra also has the definition of Groupoid: https://en.wikipedia.org/wiki/Groupoid_algebra

I'm definitely new to the algebraic world, but isn't it like... reducing a field K with a set of reducers G? It's not specific on the dimensions of the field or the number of applicable functions, which sounds definitely useful to me.

I wonder how it could be implemented. If there's interest on it, I would gladly help.

@sadasant
Copy link
Author

I particularly like how the Groupoids are related to Automatas:

@puffnfresh
Copy link
Member

What is this issue for? Getting Groupoid specified?

@sadasant
Copy link
Author

Yes! Only if it makes sense.

@puffnfresh
Copy link
Member

Starting with a Semigroupoid would be best. What would it look like in JS?

@sadasant
Copy link
Author

sadasant commented Mar 24, 2017

I know this is not haskell, but I couldn't figure anything else closer to our realm...

Here's a package for one in haskell: https://hackage.haskell.org/package/semigroupoids

Here's a definition for Groupoid there: https://hackage.haskell.org/package/semigroupoids-5.1/docs/Data-Groupoid.html

And here's one for semigroupoid: https://hackage.haskell.org/package/semigroupoids-5.1/docs/Data-Semigroupoid.html

They say that a semigroupoid is a Category sans id.

Should we start with Category?
Feedback on the approach is appreciated \o/

@gabejohnson
Copy link
Member

Category and Groupoid would both extend Semigroupoid. It would be useful for #208.

@sadasant
Copy link
Author

@gabejohnson definitely!

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

3 participants