Another new io library

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 17 02:54:56 PST 2016


On Wednesday, 17 February 2016 at 07:15:01 UTC, Steven 
Schveighoffer wrote:
> On 2/17/16 1:58 AM, Rikki Cattermole wrote:
>
>> A few things:
>> https://github.com/schveiguy/iopipe/blob/master/source/iopipe/traits.d#L126
>> why isn't that used more especially with e.g. window?
>> After all, window seems like a very well used word...
>
> Not sure what you mean.
>
>> I don't like that a stream isn't inherently an input range.
>> This seems to me like a good place to use this abstraction by 
>> default.
>
> What is front for an input stream? A byte? A character? A word? 
> A line?

Why not just say it's a ubyte and then compose with ranges from 
there?


More information about the Digitalmars-d mailing list