import { optic } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { modify } = optic;
A pipeable modify function that applies a modification function to a Modifier<S, A> modify function. It will return a function S -> S that applies the modify function according to the type of optic. Note: All Optics are Modifiers.