Why is there no std.stream anymore?

Kagamin spam at here.lot
Thu Dec 14 13:07:42 UTC 2017


On Monday, 11 December 2017 at 23:33:44 UTC, Seb wrote:
> ---
> void main(string[] args)
> {
>     import std.conv, std.range, std.stdio;
>     foreach (d; 
> File(__FILE_FULL_PATH__).byChunk(4096).join.take(5)) {
>         writefln("%s", d.to!char);
>     }
> }
> ---

A variant: https://run.dlang.io/is/2TUQBv


More information about the Digitalmars-d-learn mailing list