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

question: is map supported for dictionaries? #146

Open
sstadelman opened this issue Nov 11, 2021 · 1 comment
Open

question: is map supported for dictionaries? #146

sstadelman opened this issue Nov 11, 2021 · 1 comment

Comments

@sstadelman
Copy link

No description provided.

@djbe
Copy link
Member

djbe commented Jul 20, 2022

Not at this point, no.

When generating output, you want that output to be "stable", so that when you generate this output multiple times, it is the same each time. The problem is that mapping over a dictionary is inherently unstable. We'd need to sort the keys first for example.

Could definitely add it, maybe for dictionaries where the keys are Comparable.

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

No branches or pull requests

2 participants