What does duckmap really do? Languages

What does duckmap really do?

From the documentationduckmap will apply &block on each element and return a new list with defined return values of the block. For undefined return values, duckmap will try to descend into the element if that element implements Iterable.
Read More