import { type Match } from "https://deno.land/x/rimbu@0.13.1/deep/internal.ts";
const { WithResult } = 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
.