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

Index all homs in a schema when using @acset_type #127

Open
slwu89 opened this issue Apr 9, 2024 · 1 comment
Open

Index all homs in a schema when using @acset_type #127

slwu89 opened this issue Apr 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@slwu89
Copy link
Member

slwu89 commented Apr 9, 2024

Programmer QoL feature, it would be nice to do something like @acset_type MyType(MySch, index=true) to indicate that all homs in the schema should be indexed.

EDIT: not sure how necessary this is, as one can do @acset_type MyType(MySch, index=nameof.(generators(MySch,:Hom)))

@epatters epatters added the enhancement New feature or request label Apr 10, 2024
@epatters
Copy link
Member

I think it would still be a nice convenience feature, as it comes up fairly often. PR welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants