4 ms·
There's no (practical) advantage to the circular implementation; it's just a curiosity. It is useful for understanding laziness and some interesting theoretica
by oisdk 9mo ago
There's no (practical) advantage to the circular implementation; it's just a curiosity.
It is useful for understanding laziness and some interesting theoretical tools for traversing data structures, though. For a more in-depth look at the idea of circular programs for traversal, Bird's paper (linked in the post, https://link.springer.com/article/10.1007/BF00264249 https://link.springer.com/article/10.1007/BF00264249) is a good start.