x/rambda/source/tap.js
12345678export function tap(fn, x) { if (arguments.length === 1) return _x => tap(fn, _x) fn(x) return x}