scan
accepts
1 input stream,
an accumulator,
a seed (optional)
seed will be used as an initial accumulation accaccumulatorreturns a new stream of accumulated values
❚ scan takes three arguments:
character to a string)!)The accumulator function combines two values:
accumulationvalueAs a result, the accumulator returns a new accumulation.
❚ startWith(seed) and ❚ scan(f, seed).
Freelance Developer Advocate. Motion graphics with code. JavaScript and Elm. cedricsoulas.com
Receive my latest news, product updates and programming visualizations. You can unsubscribe at any time.