Comment Comment by danellis The problem with for-each in a lot of languages is that it's a statement, not an expression, so it only works with mutable data. parent danellis 9 years ago