Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fun/mappable.ts>Mappable

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

A Mappable structure has the method map.

Properties

readonly
map: <A, I>(fai: (value: A) => I) => <B = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => $<U, [I, B, C], [D], [E]>