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