Skip to content
총 7개의 글이 있습니다.
const curry = f => (a, ..._) =_.length ? f(a, ..._) : (..._) =f(a, ..._);
const go1 = (a, f) =a instanceof Promise ? a.then(f) : f(a);
const go = (...args) =reduce((a, f) =f(a), args);
const pipe = (f, ...fs) =(...as) =go(f(...as), ...fs); (a, ..._) =_.length ? f(a, ..._) : (..._) =f(a, ..._);const go1 = (a, f) =a instanceof Promise ? a.then(f) : f(a);const go = (...args) =reduce((a, f) =f(