A digital product designer and programmer. User Experience, Interaction design and prototyping mobile and cross-channel experiences beyond the desktop browser.
// pipe(...fns: [...Function]) => x => yconst pipe = (...fns) => x => fns.reduce((y, f) => f(y), x);
A list expressed over time is a stream.
Function currying is the process of successive partial applications, until the last argument is given at which point the result of the function is returned. A curried version of the add function might be written as: