Skip to main content
Module

x/fun/mod.ts>applicable.Applicable

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

The Applicable interface. This interface includes the methods apply, map, and wrap.

Type Parameters

U extends Kind

Properties

readonly
apply: <A, B = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => <I, J = never, K = never>(tfai: $<U, [(value: A) => I, J, K], [D], [E]>) => $<U, [I, B | J, C | K], [D], [E]>