init component
This commit is contained in:
14
node_modules/fp-ts/es6/DistributiveLattice.js
generated
vendored
Normal file
14
node_modules/fp-ts/es6/DistributiveLattice.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { max, min } from './Ord';
|
||||
// -------------------------------------------------------------------------------------
|
||||
// constructors
|
||||
// -------------------------------------------------------------------------------------
|
||||
/**
|
||||
* @category constructors
|
||||
* @since 2.0.0
|
||||
*/
|
||||
export function getMinMaxDistributiveLattice(O) {
|
||||
return {
|
||||
meet: min(O),
|
||||
join: max(O)
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user