Share your code. Components are building blocks, you are the architect.

utils/ap
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
ap applies a list of functions to a list of values

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/ap in your project
npm i @bit/bit.ramda.utils.ap
Copied

ap (applyF:*, applyX:*) : *

ap applies a list of functions to a list of values.

Dispatches to the ap method of the second argument, if present. Also treats curried functions as applicatives.

Example

R.ap([R.multiply(2), R.add(3)], [1,2,3]); //=> [2, 4, 6, 4, 5, 6]
     R.ap([R.concat('tasty '), R.toUpper], ['pizza', 'salad']); //=> ["tasty pizza", "tasty salad", "PIZZA", "SALAD"]

     // R.ap can also be used as S combinator
     // when only two functions are passed
     R.ap(R.concat, R.toUpper)('Ramda') //=> 'RamdaRAMDA'

Arguments

applyF: *

applyX: *

Returns

*