import { lensProp } from "https://deno.land/x/fae@v1.1.1/lensProp.ts";
Returns a lens whose focus is the specified property
const xLens = Fae.lensProp('x')
Fae.view(xLens, {x: 1, y: 2})
import { lensProp } from "https://deno.land/x/fae@v1.1.1/lensProp.ts";
Returns a lens whose focus is the specified property
const xLens = Fae.lensProp('x')
Fae.view(xLens, {x: 1, y: 2})