Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/mod.ts>applicable.apply

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

Compose two Applicables into a new apply function.

Type Parameters

U extends Kind
V extends Kind

Returns

<A, B = never, C = never, D = unknown, E = unknown, J = never, K = never, L = unknown, M = unknown>(uva: $<U, [$<V, [A, B, C], [D], [E]>, J, K], [L], [M]>) => <I>(uvfai: $<U, [$<V, [(a: A) => I, B, C], [D], [E]>, J, K], [L], [M]>) => $<U, [$<V, [I, B, C], [D], [E]>, J, K], [L], [M]>