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

marray

🌌marray

marray -- one-dimensional mutable array

create a new marray by adding a new element o at the end of this marray

create immutable array from this

contents of the marray

fold the elements of this array using the given monoid.

e.g., to sum the elements of an array of i32, use a.fold i32.sum

get element at given index i

set element at given index i to given value o

infix operator synonyme for add

length of the marray

map the array to a new array applying function f to all elements