0.0.1 • Published 7 years ago
capital-c v0.0.1
capital-c
Magically composable functions!
const C = require('capital-c');
let f1 = x => x + 1;
let f2 = x => x * 2;
({f1, f2} = C({f1, f2}));
const y = f1.f2.f1.f2.f2.f1;
console.log(y);
console.log(y(2));
// Profit
install
with npm do:
npm install capital-c
license
MIT
0.0.1
7 years ago