map
import { map } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/fn.ts";Map over the output of a Fn. This is equivalent to function composition. ie. a => pipe(f, map(g))(a) === a => g(f(a))
@example
import { map, wrap, pipe } from "./fn.ts";
const result = pipe(wrap(1), map(n => n + 1)); // 2