NOTE: I am on Scala 2.8—can that be a problem?
Why can\'t I use the fold function the same way as foldLeft or foldRight?
fold
foldLeft
foldRight
You're right about the old version of Scala being a problem. If you look at the scaladoc page for Scala 2.8.1, you'll see no fold defined there (which is consistent with your error message). Apparently, fold was introduced in Scala 2.9.