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 resizing Grids / Refactor away const generics #126

Open
ecton opened this issue Jan 7, 2024 · 0 comments
Open

Support resizing Grids / Refactor away const generics #126

ecton opened this issue Jan 7, 2024 · 0 comments

Comments

@ecton
Copy link
Member

ecton commented Jan 7, 2024

Const generics for the number of "columns" in a grid was a neat experiment, but it's not really practical. When working on the goosheet (I need to come up with a new name, and I'm not sure I love cusheet 😆), I realized I needed the ability to add and remove columns. Const generics aren't really there for being able to do this type of operation.

Instead, We should remove the const generic and just handle mistmatches in child count + cell count by just treating the remaining cells as empty.

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

No branches or pull requests

1 participant