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

15 lines
393 B
JavaScript

import { max, min } from './Ord';
// -------------------------------------------------------------------------------------
// constructors
// -------------------------------------------------------------------------------------
/**
* @category constructors
* @since 2.0.0
*/
export function getMinMaxDistributiveLattice(O) {
return {
meet: min(O),
join: max(O)
};
}