Skip to content

Conversation

@lehins
Copy link
Contributor

@lehins lehins commented Nov 14, 2025

I am not sure about others, but having the same value in the list made it really hard to follow the example.

I think it will be slightly clearer if there are no duplicate values, especially considering that they serve as an indicator what happens upon duplicate keys.

Copy link
Contributor

@treeowl treeowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly an improvement. Thanks.

Copy link
Contributor

@meooow25 meooow25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind making the same change in Data.Map.Lazy?

@lehins lehins force-pushed the improve-example-clarity branch from ddca78e to 03e5a6e Compare November 18, 2025 03:51
@lehins
Copy link
Contributor Author

lehins commented Nov 18, 2025

Would you mind making the same change in Data.Map.Lazy?

Not at all. I already forgot about existence of the lazy interface 😄

@meooow25
Copy link
Contributor

Thanks!

@meooow25 meooow25 merged commit 9f9742b into haskell:master Nov 21, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

3 participants