import { type Deep } from "https://deno.land/x/rimbu@1.2.0/deep/index.ts";
const { WithResult } = Deep.Match;
A type that either directly results in result type S
or is a function taking the value, parent, and root values, and
returns a value of type S
.