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

reduce

Sequence.reduce

(R 
type
, init R, f Binary (choice R (abort R)) R Sequence.T)
 => 
R
[Contains abstract features]
reduce this Sequence to R with an initial value init
and a reducing function f.
the reduction is finished once f yields abort or
if the end of the sequence is reached.

Type Parameters

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