>> Also by static function you probably mean private in D. > No, I meant for mixin I nead static functions, but I just realized, > it also works without the static keyword. I think static has no meaning in global scope, only in function scope where it tells the compiler you don't want a closure.