O'Reilly logo
  • CHIA-MING LIN thinks this is interesting:

(v) => (v, 1)

From

Cover of Learning Spark

Note

createCombiner: the return of this creator determines the type of accumulator.