map
import { map } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync.ts";Apply a function to the result of a Sync computation.
@example
import { map, wrap } from "./sync.ts";
import { pipe } from "./fn.ts";
const syncValue = wrap(5);
const result = pipe(
syncValue,
map(n => n * 2)
);
const value = result(); // 10