export default interface Foldable { reduce(f: (b: B, a: A) => B, x: B): B; }