Skip to main content
Module

x/fun/mod.ts>applicable.applyFirst

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

Type Parameters

U extends Kind

Returns

<I, B = never, C = never, D = unknown, E = unknown>(second: $<U, [I, B, C], [D], [E]>) => <A>(first: $<U, [A, B, C], [D], [E]>) => $<U, [A, B, C], [D], [E]>