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

CategoryConstructor should support installing functions for arbitrary CAP operations #1140

Open
zickgraf opened this issue Nov 4, 2022 · 0 comments

Comments

@zickgraf
Copy link
Member

zickgraf commented Nov 4, 2022

Currently, CategoryConstructor only supports installing functions for some return types but not all of them. For example, object, list_of_objects and morphism are supported, but list_of_morphisms is not supported because it is unclear how the source and range of the morphisms in the list would be specified. For example, this affects BasisOfExternalHom. It would be nice if one could simply give a custom function string for BasisOfExternalHom. This custom function would have to handle the returned list of morphisms itself, but could at least make use of the functionality independent of the return type, e.g. underlying_arguments.

This in turn would allow DummyCategory to install arbitrary operations.

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