Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import std.stdio;

struct Point {
    int x;
    int y;
}

void main() {
    auto values = [1, 2, 3];
    foreach (v; values) {
        if (v > 1) {
            writeln(v);
        } else {
            writeln("small");
        }
    }
}