src/0-core/1-monoids/IntegerMax.js
export class IntegerMax {
zero() {
return Number.NEGATIVE_INFINITY;
}
plus(a, b) {
return Math.max(a, b);
}
}
export class IntegerMax {
zero() {
return Number.NEGATIVE_INFINITY;
}
plus(a, b) {
return Math.max(a, b);
}
}