Note: This website is archived. For up-to-date information about D projects and development, please visit


Part of KeywordsCategory


An alias is used to add an additional name that can be used to call a type or function.


import std.stdio;

alias writefln wln ;
alias char[]   s   ;
alias void     v   ;

v main (s[] a) {
  wln("Command used to start program: %s", a[0]);