Added missing import std.stdio...

to make an example compilable.
This commit is contained in:
Mark 2020-01-22 12:16:26 +00:00 committed by GitHub
parent 1eecfded69
commit 75320beb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,7 @@ found in the wonderful `std.algorithm` module!
```d ```d
import std.algorithm : map, filter, reduce; import std.algorithm : map, filter, reduce;
import std.range : iota; // builds an end-exclusive range import std.range : iota; // builds an end-exclusive range
import std.stdio;
void main() { void main() {
// We want to print the sum of a list of squares of even ints // We want to print the sum of a list of squares of even ints