Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

flatMap

🌌list.flatMap

map the list to a new list applying function f to all elements
and flatten the result of f in the process

This performs a lazy mapping, f is called only when the elements
are taken from the list.