On Saturday, 24 February 2018 at 09:48:13 UTC, Joel wrote:
I'm trying some code for practice, but it isn't working properly - it prints just one number when printing in reverse.

[...]

the first writeln destroys the range via popFront, I think. As if you comment it out, the writeln with retro works as expected.
This could be helpful:
https://forum.dlang.org/post/urgndzaiqblzdscnn...@forum.dlang.org

Reply via email to