Skip to main content
Module

x/fun/reducible.ts>Reducible

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
interface Reducible
implements Hold<U>
import { type Reducible } from "https://deno.land/x/fun@v2.0.0-alpha.12/reducible.ts";

A Reducible structure has the method reduce.

Properties

readonly
reduce: <A, O>(reducer: (accumulator: O, value: A) => O, accumulator: O) => <B = never, C = never, D = unknown, E = unknown>(ua: $<U, [A, B, C], [D], [E]>) => O