You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a while loop has statically known condition (i.e., when it should be unfolded into a static value) the loop side effects are not reified. Only the resulting value or nothing at all if there is no value. E.g.,
(while len
(set x 0)
(decr len))
should be reified to
x := 0
x := 0
...
len times for statically known len, but it is turned into nothing.
Note, that for an expression that construct pure value it works correctly (though any side effects are not observable).
The text was updated successfully, but these errors were encountered:
When a while loop has statically known condition (i.e., when it should be unfolded into a static value) the loop side effects are not reified. Only the resulting value or nothing at all if there is no value. E.g.,
should be reified to
len
times for statically knownlen
, but it is turned into nothing.Note, that for an expression that construct pure value it works correctly (though any side effects are not observable).
The text was updated successfully, but these errors were encountered: