Copyimport * as mod from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/foldable.ts";
import * as mod from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/foldable.ts";
Foldable is a structure that allows a function to all values inside of a structure. The reduction is accumulative and ordered.
Collect all values from a Foldable structure using the provided Initializable.
A Foldable structure has the method fold.