Fix Issue 18648 - Document the type of std.stdio.stdin and friends

This commit is contained in:
Sebastian Wilzbach 2018-03-22 21:32:46 +01:00
parent 055f502194
commit a502a4731f
2 changed files with 61 additions and 2 deletions

View file

@ -10,8 +10,8 @@ module std.experimental.all;
int len;
const r = 6.iota
.filter!(a => a % 2) // 0 2 4
.map!(a => a * 2) // 0 4 8
.filter!(a => a % 2) // 1 3 5
.map!(a => a * 2) // 2 6 10
.tee!(_ => len++)
.sum
.reverseArgs!format("Sum: %d");