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

Categories could be an independent library #1

Open
mroman42 opened this issue Jan 23, 2020 · 0 comments
Open

Categories could be an independent library #1

mroman42 opened this issue Jan 23, 2020 · 0 comments

Comments

@mroman42
Copy link
Owner

mroman42 commented Jan 23, 2020

All the material in Categories.hs and CategoriesInstances.hs does not belong to an implementation of optics but should be part of some library on constrained categories.

The criterion for correctness is that they should have the definitions and laws of enriched categories over the types of the language. Data.Category does not seem to be enough (the constraints needed to be passed to constructors), but I would be happy to adopt some new version of it.

Meanwhile, the code can keep the necessary Category instances.

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

1 participant