1 public import std
.random
: uniform
;
5 public alias rnd
= uniform
;
7 void exit(ubyte code
) {
8 import core
.runtime
: Runtime
;
9 static import core
.stdc
.stdlib
;
11 core
.stdc
.stdlib
.exit(code
);
14 pure string
format(T
...)(string s
, T args
) {
15 import std
.array
: appender
;
16 import std
.format
: formattedWrite
;
17 auto w
= appender
!string();
18 formattedWrite(w
, s
, args
);
22 pure string
fillstr(int length
, char ch
=' ') {
24 while (length
--> 0) {