Why sum_kbn can't sum generators?

The KBN sum is for floating point numbers and doesn’t provide any benefit for integers, so it looks like it’s not defined for them: for example, sum_kbn([1,2,3]) also doesn’t work. Try using a floating-point range in your generator:

sum_kbn(i for i = 1.0:1.0:10.0)