mirror of
https://github.com/dlang/phobos.git
synced 2025-05-10 22:18:03 +03:00
Fix Issue 18648 - Document the type of std.stdio.stdin and friends
This commit is contained in:
parent
055f502194
commit
a502a4731f
2 changed files with 61 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue