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

fold1

list.fold1

(f Binary list.A list.A list.A)
 => 
list.A
[Redefinition of  Sequence.fold1]
[Contains abstract features]
fold the elements of this non-empty list using the given function

e.g., to find the minimum of a list of i32, use `l.fold1 (<=)`

redefines:

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