harlan
harlan copied to clipboard
while loops do not re-evaluate test for side effects
If a while loop relies on side effects in the test it will never terminate. This is because Harlan assumes expressions are pure and lifts it out.
We should probably just remove while loops.