1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-10 16:54:33 +02:00

Merge pull request #3824 from mark-summerfield/patch-1

Added missing import std.stdio...
This commit is contained in:
Adam Bard
2020-01-27 21:26:24 -08:00
committed by GitHub

View File

@@ -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