19 lines
597 B
JavaScript
19 lines
597 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.getMinMaxDistributiveLattice = void 0;
|
||
|
var Ord_1 = require("./Ord");
|
||
|
// -------------------------------------------------------------------------------------
|
||
|
// constructors
|
||
|
// -------------------------------------------------------------------------------------
|
||
|
/**
|
||
|
* @category constructors
|
||
|
* @since 2.0.0
|
||
|
*/
|
||
|
function getMinMaxDistributiveLattice(O) {
|
||
|
return {
|
||
|
meet: (0, Ord_1.min)(O),
|
||
|
join: (0, Ord_1.max)(O)
|
||
|
};
|
||
|
}
|
||
|
exports.getMinMaxDistributiveLattice = getMinMaxDistributiveLattice;
|