Cédric Soulas
Motion graphics about programming

 

Episode 21 - The scan operator Monday, 5 Feb.

Scan arguments

❚ scan takes three arguments:

The accumulator function combines two values:

As a result, the accumulator returns a new accumulation.

Scan operation

This is how ❚ scan works with an input stream, an accumulator and a seed:

As a result, ❚ scan returns a new stream of accumulated values.

Notes

Cards to learn Reactive Programming

Focus on one new concept – every Monday

Occasional updates, plus:
Cédric Soulas
Motion graphics about programming