@prelude/cmp
Version:
Cmp module.
7 lines • 315 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const prelude_js_1 = require("./prelude.js");
/** Maps comparision function to ascending predicate. */
const ascending = (cmp) => (a, b) => cmp(a, b) === prelude_js_1.asc;
exports.default = ascending;
//# sourceMappingURL=ascending.js.map
;