Skip to main content
Module

x/fun/map.ts>mapSecond

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

Parameters

fbj: (b: B) => J

Returns

<A>(ta: ReadonlyMap<B, A>) => ReadonlyMap<J, A>