import * as R from 'ramda'
// NOTE: Destructuring imports from ramda does not necessarily prevent importing the entire library.
// You can manually cherry-pick methods like the following
import pick from 'ramda/src/pick';
pipe
const triple = (x) => x * 3;
const cube = (x) => x * x * x;
var output = pipe(cube, triple)(2);
console.log(output); // 24
compose
const triple = (x) => x * 3;
const cube = (x) => x * x * x;
var output = compose(cube, triple)(2);
console.log(output); // 216