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

Support higher-level TableCollection designs #250

Open
molpopgen opened this issue Jun 30, 2022 · 0 comments
Open

Support higher-level TableCollection designs #250

molpopgen opened this issue Jun 30, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@molpopgen
Copy link
Member

#249 brings up a bigger-picture issue.

The current API closely mimics that of the C library. One could argue that this is too low-level.
A rustier approach would be for client apps to use newtypes representing table collections.
We could provide procedural macros to associate metadata types with these newtypes, eliminating the need for naming types in the metadata retrieval functions.

The same basic tricks could be applied to newtype wrappers for tree sequences, too.

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

1 participant