Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

map_to_list

list.map_to_list

(B 
type
, f Unary B list.A)
 => 
list B
[Contains abstract features]
map the list to a new list applying function f to all elements

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

Type Parameters

0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)