init component
This commit is contained in:
20
node_modules/fp-ts/lib/BoundedDistributiveLattice.js
generated
vendored
Normal file
20
node_modules/fp-ts/lib/BoundedDistributiveLattice.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getMinMaxBoundedDistributiveLattice = getMinMaxBoundedDistributiveLattice;
|
||||
var DistributiveLattice_1 = require("./DistributiveLattice");
|
||||
// -------------------------------------------------------------------------------------
|
||||
// constructors
|
||||
// -------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @category constructors
|
||||
* @since 2.0.0
|
||||
*/
|
||||
function getMinMaxBoundedDistributiveLattice(O) {
|
||||
var L = (0, DistributiveLattice_1.getMinMaxDistributiveLattice)(O);
|
||||
return function (min, max) { return ({
|
||||
join: L.join,
|
||||
meet: L.meet,
|
||||
zero: min,
|
||||
one: max
|
||||
}); };
|
||||
}
|
||||
Reference in New Issue
Block a user