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

foldr

list.foldr

(s list.A, m Monoid list.A)
 => 
list.A
[Redefinition of  Sequence.foldr]
fold the elements of this list using the given monoid and initial value right-to-left.

Used to fold a list tail-recursively

redefines:

0.094dev (2025-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)