Since changing how blocks and bindings work, you can no longer create a temporary binding inside a while loops condition. I also am not a huge fan that the while loop block now has hidden meaning, rather than just being an expression.
I'm thinking about the following:
fn main() {
0 while {
as [i] i
i 10 <
} do {
as [i]
i println
1 +
}
}
Since changing how blocks and bindings work, you can no longer create a temporary binding inside a while loops condition. I also am not a huge fan that the while loop block now has hidden meaning, rather than just being an expression.
I'm thinking about the following: