add hw2
This commit is contained in:
30
node_modules/ramda/es/internal/_xpromap.js
generated
vendored
Executable file
30
node_modules/ramda/es/internal/_xpromap.js
generated
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
import _curry3 from "./_curry3.js";
|
||||
import _xfBase from "./_xfBase.js";
|
||||
import _promap from "./_promap.js";
|
||||
|
||||
var XPromap =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
function XPromap(f, g, xf) {
|
||||
this.xf = xf;
|
||||
this.f = f;
|
||||
this.g = g;
|
||||
}
|
||||
|
||||
XPromap.prototype['@@transducer/init'] = _xfBase.init;
|
||||
XPromap.prototype['@@transducer/result'] = _xfBase.result;
|
||||
|
||||
XPromap.prototype['@@transducer/step'] = function (result, input) {
|
||||
return this.xf['@@transducer/step'](result, _promap(this.f, this.g, input));
|
||||
};
|
||||
|
||||
return XPromap;
|
||||
}();
|
||||
|
||||
var _xpromap =
|
||||
/*#__PURE__*/
|
||||
_curry3(function _xpromap(f, g, xf) {
|
||||
return new XPromap(f, g, xf);
|
||||
});
|
||||
|
||||
export default _xpromap;
|
||||
Reference in New Issue
Block a user