import { compose } from "https://deno.land/x/fun@v2.0.0-alpha.6/optics.ts";
Compose two Optics by:
- Finding the alignment of them, which is Max<first, second> where Fold > Affine > Get
- Cast both optics to the alignment tag, one cast will always be a noop.
- Construct a new optic by chaining the view functions first to second and composing the modify functions second to first.