mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +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
|
||||
import std.algorithm : map, filter, reduce;
|
||||
import std.range : iota; // builds an end-exclusive range
|
||||
import std.stdio;
|
||||
|
||||
void main() {
|
||||
// We want to print the sum of a list of squares of even ints
|
||||
|
Loading…
Reference in New Issue
Block a user