UNPKG

@functional-lib/kalendar

Version:

kalendar fp

18 lines (13 loc) 303 B
"use strict"; var _daggy = require("daggy"); var ToDate = (0, _daggy.tagged)('ToDate', ['f']); ToDate.prototype.contramap = function (f) { var _this = this; return ToDate(function (x) { return _this.f(f(x)); }); }; module.exports = { ToDate: ToDate }; //# sourceMappingURL=toDate.js.map