-
Notifications
You must be signed in to change notification settings - Fork 0
foldl
Ville Rissanen edited this page Sep 20, 2021
·
1 revision
- folder - bifunction that produces a single result.
- foldable - iterable var, usually a list.
- ?initial - initial value for folding, defaults to var().
Left fold an iterable var value, usually a list.
let iterable = {1, 2, 3};
let folded = foldl([]lambda(st + nd), iterable) // 6.
- Var
- Macros
- Built-ins
- Compilation options