Skip to main content
Module

x/fun/map.ts>updateAt

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

Returns

(key: B) => <A>(value: A) => (map: ReadonlyMap<B, A>) => ReadonlyMap<B, A>