Sort by Length for OCaml Golf Competition by xulapp

for(string s:sort(sort((string[])stdin),new bool(string a,string b){return length(a)<length(b);}))write(s);

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page