Skip to main content
Module

x/fun/mod.ts>promise.FlatmappablePromise

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
variable promise.FlatmappablePromise
import { promise } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { FlatmappablePromise } = promise;

The canonical implementation of Flatmappable for Promise. It contains the methods wrap, apply, map, and flatmap.

type

Flatmappable<KindPromise>