Twelve statements: Difference between revisions

Content deleted Content added
Simpler D entry
Simpler D entry
Line 180: Line 180:
=={{header|D}}==
=={{header|D}}==
{{trans|Python}}
{{trans|Python}}
<lang d>import std.stdio, std.typecons, std.algorithm, std.range,std.functional;
<lang d>import std.stdio, std.typecons, std.algorithm,std.range,std.functional;


immutable texts = [
immutable texts = [
Line 214: Line 214:
void main() {
void main() {
enum nStats = 12;
enum nStats = 12;
assert(texts.length == nStats);
assert(funcs.length == nStats);
Tuple!(const bool[], const bool[])[] full, partial;
Tuple!(const bool[], const bool[])[] full, partial;