update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
29
node_modules/ramda/es/internal/_xtakeWhile.js
generated
vendored
Normal file
29
node_modules/ramda/es/internal/_xtakeWhile.js
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
import _curry2 from "./_curry2.js";
|
||||
import _reduced from "./_reduced.js";
|
||||
import _xfBase from "./_xfBase.js";
|
||||
|
||||
var XTakeWhile =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
function XTakeWhile(f, xf) {
|
||||
this.xf = xf;
|
||||
this.f = f;
|
||||
}
|
||||
|
||||
XTakeWhile.prototype['@@transducer/init'] = _xfBase.init;
|
||||
XTakeWhile.prototype['@@transducer/result'] = _xfBase.result;
|
||||
|
||||
XTakeWhile.prototype['@@transducer/step'] = function (result, input) {
|
||||
return this.f(input) ? this.xf['@@transducer/step'](result, input) : _reduced(result);
|
||||
};
|
||||
|
||||
return XTakeWhile;
|
||||
}();
|
||||
|
||||
var _xtakeWhile =
|
||||
/*#__PURE__*/
|
||||
_curry2(function _xtakeWhile(f, xf) {
|
||||
return new XTakeWhile(f, xf);
|
||||
});
|
||||
|
||||
export default _xtakeWhile;
|
Loading…
Add table
Add a link
Reference in a new issue