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

Experiment: can we improve key types we get from map iteration? #59

Open
uint opened this issue Sep 10, 2024 · 0 comments
Open

Experiment: can we improve key types we get from map iteration? #59

uint opened this issue Sep 10, 2024 · 0 comments

Comments

@uint
Copy link
Collaborator

uint commented Sep 10, 2024

Currently, the key types are always something nested, confusing, and not very ergonomic.

Custom struct instead of tuple

Maybe it would make sense to replace the tuple with some sort of a custom struct. That would let us be a little more descriptive with what's what, and provide helper methods.

Avoid the wrapper in some cases

Maybe we can avoid some nesting when dealing with a terminal inner container, and so on. Research?

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

No branches or pull requests

1 participant