Sort by Length for OCaml Golf Competition by tanakh

let rec(!)?(a=read_line())_=(String.length a,a)::try!0with _->[];;List.map(fun(_,a)->print_endline a)(Sort.list(<)!0)

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

download

return to the top page