Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Flatmappable

import type { Flatmappable } from "https://raw.githubusercontent.com/baetheus/fun/main/flatmappable.ts";

A Flatmappable structure.

interface Flatmappable <U extends Kind> extends Applicable<U>, Hold<U> {
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 = unknown>(ta: $<U, [A, B, C], [D], [M]>) => $<U, [I, B | J, C | K], [D & L], [M]>;
}

§Type Parameters

§
U extends Kind
[src]

§Extends

§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 = unknown>(ta: $<U, [A, B, C], [D], [M]>) => $<U, [I, B | J, C | K], [D & L], [M]>
[src]