This commit is contained in:
Dawid Dziurla 2020-03-26 15:37:35 +01:00
parent d9becc67b6
commit 9308795b8b
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B
964 changed files with 104265 additions and 16 deletions

29
node_modules/ramda/es/internal/_xtap.js generated vendored Normal file
View file

@ -0,0 +1,29 @@
import _curry2 from "./_curry2.js";
import _xfBase from "./_xfBase.js";
var XTap =
/*#__PURE__*/
function () {
function XTap(f, xf) {
this.xf = xf;
this.f = f;
}
XTap.prototype['@@transducer/init'] = _xfBase.init;
XTap.prototype['@@transducer/result'] = _xfBase.result;
XTap.prototype['@@transducer/step'] = function (result, input) {
this.f(input);
return this.xf['@@transducer/step'](result, input);
};
return XTap;
}();
var _xtap =
/*#__PURE__*/
_curry2(function _xtap(f, xf) {
return new XTap(f, xf);
});
export default _xtap;