日本語

Which way should my traversals roll?

The naïve traversal for a list uses a right-fold. The naïve fix for the inevitable stack overflows uses a left fold. These have problems, and the traditional trampoline to fix those problems, has problems of its own. I will explain the problems of these—rolling left, rolling right, and rolling left-then-right—to help attendees think intuitively about traversal algorithms, and present the tree-based thinking for new traversals I’ve advocated for Scalaz.

Session length
15 minutes
Language of the presentation
English
Target audience
Intermediate: Requires a basic knowledge of the area
Speaker
Stephen Compall

voted / votable

Candidate sessions