diospyros icon indicating copy to clipboard operation
diospyros copied to clipboard

cdios: disallow modification of for loop variable in body

Open avanhatt opened this issue 4 years ago • 0 comments

If the body of a Racket for loop modifies the index variable, it does not persist to the next iteration: the front end of cdios should error on this (or do the smart thing and translate to an equivalent recursive while). Currently FFT is rewritten manually to a while loop to work around this.

avanhatt avatar Nov 18 '20 14:11 avanhatt