29. MinType!(T1, T2, T) min(T1, T2, T...)(T1 a, T2 b, T xs)
@safe int f(int a, int b) pure nothrow
{
return min(a, b);
}
pure nothrow @safe int(int a, int b, () xs)
30. *
int[] foo(int[] a, int x) {}
const(int)[] foo(const(int)[] a, int x) {}
immutable(int)[] foo(immutable(int)[] a, int x) {}
inout(int)[] foo(inout(int)[] a, int x) {}
31. CTFE
function template
foreach struct
array
associative array
if
for
new(without class) regex
39. Orbit Spec example
name "orbit"
summary "Orbit is a package manager"
version "0.0.1"
files Dir["**/*.{d,rb,conf}"]
executables %w[orb]
bindir "bin"
build "dsss"
Ruby like :)