Skip to main content
Module

x/fun/applicable.ts>Applicable

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

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

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