apply
import { apply } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/free.ts";Apply a function wrapped in a Free to a value wrapped in a Free.
@example
import { apply, node } from "./free.ts";
import { pipe } from "./fn.ts";
const freeFn = node((n: number) => n * 2);
const freeValue = node(5);
const result = pipe(
freeFn,
apply(freeValue)
);
console.log(result); // { tag: "Node", value: 10 }