Skip to main content
Module

x/fae/mod.ts>lens

A functional module for Deno inspired from Ramda.
Latest
variable lens
import { lens } from "https://deno.land/x/fae@v1.1.1/mod.ts";

Returns a lens for the given getter and setter functions. The getter "gets" the value of the focus; the setter "sets" the value of the focus. The setter should not mutate the data structure.

type

LensF