@prelude/cmp
Version:
Cmp module.
11 lines • 375 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const prelude_js_1 = require("./prelude.js");
/** @returns comparision function from lower-than function. */
const ofLt = (lt) => (a, b) => lt(a, b) ?
prelude_js_1.asc :
lt(b, a) ?
prelude_js_1.dsc :
prelude_js_1.eq;
exports.default = ofLt;
//# sourceMappingURL=of-lt.js.map
;