Fang Jin
1 min readAug 28, 2020

--

One interesting aspect of sequence is that you don't have the obligation to go through the list from the beginning to the end, and it could be infinite number. Therefore it's very useful for generator that requires knowledge from past state, closer to `.scan` only without the limitation.

--

--

Fang Jin
Fang Jin

Written by Fang Jin

Front-end Engineer, book author of “Designing React Hooks the Right Way” and "Think in Recursion"

No responses yet