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

fold

container.abstract_array.fold

(i i32, s container.abstract_array.T, m Monoid container.abstract_array.T)
 => 
container.abstract_array.T
fold the elements of this array using the given monoid and initial value

Used to fold an array tail-recursively
0.094dev (2025-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)