Sort by Length for OCaml Golf Competition by yt118

open List
let rec(!)?(a=read_line())x=merge compare[String.length a,a](try!0with
_->[]);;iter print_endline(map snd!0)

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

download

return to the top page