How should to!string handle infinite ranges?
Per Nordlöw
per.nordlow at gmail.com
Tue Mar 4 11:19:01 UTC 2025
On Tuesday, 4 March 2025 at 10:38:24 UTC, Paul Backus wrote:
> As a D programmer, which behavior would you find more useful or
> less surprising?
I prefer the latter with the adjustment
`Can't convert an infinite range to a string, use take to make
the range finite`
or something like that.
The issue here is that a string is a static non-interactable
object.
If we had a way to convert ranges to interactable GUI objects
things the situation might be different.
More information about the Digitalmars-d
mailing list