Why I'm Excited about D

ixid via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 8 10:41:00 PDT 2015


> Even putting aside the formal definition of output range, 
> output is NOT part of the pipeline! Pipelines can be composed 
> and they keep pumping data through them. writeln does not 
> transform its input nor does it forward it to the next item in 
> the pipe. It just eats it.

"nor does it forward it to the next item in the pipe"

This is something I think writeln should do and have suggested 
before. It would be useful for debugging pipelines to be able to 
drop in writeln in the middle of the pipeline and pass on the 
data unchanged.


More information about the Digitalmars-d mailing list