As I know, the following expression
for{i <- 0 to 10
j <- 0 to 10} {...}
equals to
for(i <- 0 to 10) {
for(j <- 0 to 10) {
.....
}
}
but, how to transform the following expression into the first case?
for(i <- 0 to 10) {
**execute()**
for(j <- 0 to 10) {
.....
}
}