deno.land / x / rambda@v9.1.1 / src / ap.js
12345678export function ap(functions, input){ if (arguments.length === 1){ return _inputs => ap(functions, _inputs) }
return functions.reduce((acc, fn) => [ ...acc, ...input.map(fn) ], [])}
Version Info