Skip to main content
Module

x/copb/mod.ts>p

A functional composition framework built for TypesScript that provides type safety without the need for the usual countless overloads, thanks to some functional type trickery.
Latest
function p
import { p } from "https://deno.land/x/copb@v1.0.1/mod.ts";

Composes a CompositionalStack from arguments of succeeding calls. The inside-most lambdas are on the left.

p :: (I -> O1) -> (O1 -> O2) -> (O2 -> O3) -> -- ...

Parameters

first: Lmbd<I, O1>