pow : real base, real exponent -> real { // Variable declaration tmp1 : real;// Variable declaration with initializer result : real = dotDotDotMagic(base, exponent, tmp1); // Statement as usual return result; } T
I generally prefer the C style declarations that we already have in D, but that syntax is pretty nice too...
