Skip to main content
Module

x/hkts/tree.ts>fold

Functional programming tools: option, either, task, state, optics, etc.
Latest
variable fold
import { fold } from "https://deno.land/x/hkts@v0.0.52/tree.ts";

type

<A, B>(f: (a: A, bs: Array<B>) => B) => unknown