»
reduce_or_error
Sequence.reduce_or_error
(R
type
, init R, f Binary (choice R (abort (outcome R))) R Sequence.T) =>
outcome R[Contains abstract features]
¶Type Parameters
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)
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.