Skip to content

Support higher-level TableCollection designs #250

Open
@molpopgen

Description

@molpopgen

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions