Skip to content

Conversation

@sporto
Copy link
Contributor

@sporto sporto commented May 5, 2021

iterator has flat_map. But with list you need to do map and then flatten.
It would be great to have list.flat_map as well.

@sporto sporto force-pushed the list-flat-map branch 2 times, most recently from 3698469 to c22778d Compare May 6, 2021 09:24
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Thank you

@lpil lpil enabled auto-merge (squash) May 7, 2021 20:28
@lpil lpil merged commit 32b56eb into gleam-lang:main May 7, 2021
@sporto sporto deleted the list-flat-map branch June 17, 2022 01:53
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.

2 participants