Skip to main content
Module

x/fun/bimappable.ts>Bimappable

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

The Bimappable interface. Bimapple includes the methods map and mapSecond.

Properties

readonly
mapSecond: <B, J>(fbj: (value: B) => J) => <A = never, C = never, D = unknown, E = unknown>(ta: $<U, [A, B, C], [D], [E]>) => $<U, [A, J, C], [D], [E]>