Innovenergy_trunk/frontend/node_modules/fp-ts/es6/BoundedDistributiveLattice.js

18 lines
552 B
JavaScript

import { getMinMaxDistributiveLattice } from './DistributiveLattice';
// -------------------------------------------------------------------------------------
// constructors
// -------------------------------------------------------------------------------------
/**
* @category constructors
* @since 2.0.0
*/
export function getMinMaxBoundedDistributiveLattice(O) {
var L = getMinMaxDistributiveLattice(O);
return function (min, max) { return ({
join: L.join,
meet: L.meet,
zero: min,
one: max
}); };
}