(1) -> L := stream(s+->s+1,1.1)$Stream Float
for i in L repeat output i+0.01
FriCAS cannot iterate with i over your form now. Perhaps you should try using a conversion to make sure your form is a list or stream,for example.
But of course L is a Stream and iteration within list comprehension works.
P:=[i+0.01 for i in L]
The first loop is nonterminating (there is nothing to stop iteration), so it is good that interpreter rejects it. The problem is where to draw line between nonterminationg loops and terminating ones.
Note that list comprehension produces a stream which is quite different than the first loop (in particular, since streams are lazy there a no extra problem with termination).