import { optics } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { imap } = optics;
An invariant map over an Optic. If a type can be represented isomorphically by another type, one can imap to go back and forth.
import { optics } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { imap } = optics;
An invariant map over an Optic. If a type can be represented isomorphically by another type, one can imap to go back and forth.