import { type optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Optic } = optic;
An Optic<T, S, A> is defined as a Viewer<T, S, A> combined with a Modifier<S, A>. This is the root type for the specific types of Optics defined below.
import { type optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { Optic } = optic;
An Optic<T, S, A> is defined as a Viewer<T, S, A> combined with a Modifier<S, A>. This is the root type for the specific types of Optics defined below.