mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Added missing import std.stdio...
to make an example compilable.
This commit is contained in:
parent
1eecfded69
commit
75320beb23
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user