Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -2,7 +2,7 @@ import std.stdio, std.conv, std.algorithm, std.array;
|
|||
|
||||
struct Node(T) { T value; Node* left, right; }
|
||||
|
||||
string[] treeIndent(T)(in Node!T* t) {
|
||||
string[] treeIndent(T)(in Node!T* t) pure nothrow @safe {
|
||||
if (!t) return ["-- (null)"];
|
||||
const tr = t.right.treeIndent;
|
||||
return "--" ~ t.value.text ~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue