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

Convenience function to construct sub-C-sets #349

Closed
epatters opened this issue Dec 5, 2020 · 0 comments · Fixed by #461
Closed

Convenience function to construct sub-C-sets #349

epatters opened this issue Dec 5, 2020 · 0 comments · Fixed by #461

Comments

@epatters
Copy link
Member

epatters commented Dec 5, 2020

It would be convenient to have a function that constructs a sub-C-set of a C-set. Specifically, I am imagining a generic function subobject with a method

subobject(x::ACSet, parts::NamedTuple)

to be called like

x = Graph()
...
f = subobject(x, (V=[...], E=[...]))

and returning a monomorphism f with codom(f) == x.

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

Successfully merging a pull request may close this issue.

1 participant