Combines two values into one (must be associative and commutative).
typedef SegmentCombine = num Function(num a, num b);