Skip to main content
Module

x/fun/flatmappable.ts>Flatmappable

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

A Flatmappable structure.

Properties

readonly
flatmap: <A, I, J = never, K = never, L = unknown, M = unknown>(fati: (a: A) => $<U, [I, J, K], [L], [M]>) => <B = never, C = never, D extends L = L>(ta: $<U, [A, B, C], [D], [M]>) => $<U, [I, B | J, C | K], [D & L], [M]>