Prevent let-expressions from floating out of while conditions.
Merge pull request #104 from pjonsson/fix-while

Prevent let-expressions from floating out of while conditions.