import { type optics } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { Optic } = optics;
Our new Optic definition. Instead of get and set we use get and modify as set can be derived from modify(() => value). This drastically simplifies implementation.