scaladoc for Loops