[Issue 9326] writeln to simply show pointed data

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 04:48:07 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9326



--- Comment #3 from bearophile_hugs at eml.cc 2013-01-16 04:48:06 PST ---
Beside dynamic arrays, associative arrays and enums, D writeln is able to print
lazy ranges, so writeln is already rather capable:


import std.stdio, std.range;
void main() {
    writeln(iota(6));
}


Shows:

[0, 1, 2, 3, 4, 5]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list