ffuncs
A small functional library for JavaScript which is an enhancement of ramda.
Contents
const ff = ; ffcurry; // a function that curries the given function. // uses the `length` property of a function, // so functions using the `...` operator // may provide unexpected behaviour when // curried let x + y; let addFive = ff5; console; // [6, 7, 8, 9] ffvectorize; // this takes a unary (single-arg) or // binary (double-arg) function as input // and applies it over arrays. let vadd = ff;console; // 7console; // [6, 7, 8, 9]console; // [4, 6] ffmemoize; // memoizes a numeric function. // ... // you know what this is ff; // now you can use the functions within the global scope 37 == 10; // etc.