https://issues.dlang.org/show_bug.cgi?id=4660

--- Comment #4 from Kenji Hara <[email protected]> ---
writeln formats all ranges by using the style [a, b, ...]. And array is a range
in D.

Additionally, writeln always evaluate all range elements to print them. So, the
range laziness is meaningless when you want to print it. So they are printed by
using same style by default.

If you want the semicolon-separated style, use the format specifiers "%( ... %|
... %)".

--

Reply via email to