Skip to main content
Module

x/fun/applicable.ts>apply

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

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]>