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

map_sequence

Sequence.map_sequence

map the Sequence to a new list applying function f to all elements

This performs a lazy mapping, f is called only when the elements
in the resulting list are accessed.

NYI: As long as covariance for result type is not permitted we cannot
call this 'map' since this would clash with, e.g., 'array.map'