Skip to main content
Module

x/fun/mod.ts>promise.ChainPromise

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

The canonical implementation of Chain for Promise. It contains the methods ap, map, and chain.

type

Chain<URI>