-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add an identity to get a category #41
Comments
Since |
I have no objection to adding such a construction in principle. Not sure about the name. |
Do you have better names? |
Bump! I want this for a fork of type-aligned I'm working on. Any chance you can pick a name and stick it in? Also, it supports the following eliminator, which should therefore be included. categorize :: (a ~ b => r) -> (s a b -> r) -> Categorize s a b -> r
categorize r _ Id = r
categorize _ f (Embed x) = f x |
@RyanGlScott I'd be happy to add this in, but the name issue never got resolved. Would |
Honestly, I don't have a better name myself. Admittedly, my knowledge of category theory is pretty limited, so I'm perhaps not the best person to task with thinking of a good name for this. Ultimately, I think we have to just pick something. |
This might already exist somewhere, but I couldn't find it. I'm not at all committed to these names.
The text was updated successfully, but these errors were encountered: