Home Manual Reference Source

src/0-core/1-monoids/IntegerAdd.js

export class IntegerAdd {
	zero() {
		return 0;
	}

	plus(a, b) {
		return a + b;
	}
}