import { createBindTo } from "https://deno.land/x/fun@v2.0.0/mappable.ts";
Create a bindTo function from a structure with an instance of Mappable. A
bindTo function takes the inner value of the structure and maps it to the
value of a struct with the given name. It is useful for lifting the value
such that it can then be used with a bind
function, effectively allowing
for Do
-like notation in typescript.
Type Parameters
U extends Kind