On 2/13/12, David Nadlinger <s...@klickverbot.at> wrote: > This could never work without major changes to the language, because 'u' > cannot be assigned a type.
Yeah, the syntax is wrong. I found bear's post and the syntax: alias (x => x ^^ 2) sqrTemplate; So it would be: alias ((a, b) => cast(ubyte)uniform(a, b)) u;