Signed-off-by: Jim Pryor <profjim@jimpryor.net>
simple but inefficient way to solve it is to map each tree to a list
of its leaves, this transformation is on the path to a more efficient
solution. We'll just have to figure out how to postpone computing the
-tail of the list until its needed...
+tail of the list until it's needed...
The Continuation monad is amazingly flexible; we can use it to
simulate some of the computations performed above. To see how, first