Combinable
Combinable<
A> =object
Defined in: Core/Combinable.ts:14
A type that can combine two values of type A into one, with a neutral starting value.
empty is the identity: combine(empty)(a) === a and combine(a)(empty) === a.
combine(b)(a) appends b onto a — a is the accumulated value, b is the new element.
Example
Section titled “Example”Type Parameters
Section titled “Type Parameters”A
Properties
Section titled “Properties”combine
Section titled “combine”
readonlycombine: (b) => (a) =>A
Defined in: Core/Combinable.ts:14
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”(a) => A
readonlyempty:A
Defined in: Core/Combinable.ts:14