update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
25
node_modules/ramda/es/internal/_xwrap.js
generated
vendored
Normal file
25
node_modules/ramda/es/internal/_xwrap.js
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
var XWrap =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
function XWrap(fn) {
|
||||
this.f = fn;
|
||||
}
|
||||
|
||||
XWrap.prototype['@@transducer/init'] = function () {
|
||||
throw new Error('init not implemented on XWrap');
|
||||
};
|
||||
|
||||
XWrap.prototype['@@transducer/result'] = function (acc) {
|
||||
return acc;
|
||||
};
|
||||
|
||||
XWrap.prototype['@@transducer/step'] = function (acc, x) {
|
||||
return this.f(acc, x);
|
||||
};
|
||||
|
||||
return XWrap;
|
||||
}();
|
||||
|
||||
export default function _xwrap(fn) {
|
||||
return new XWrap(fn);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue