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

fold

list.fold

§fold(s list.A, m Monoid list.A)
 => 
list.A
:
Any 

fold the elements of this list using the given monoid and initial value

Used to fold a list tail-recursively