Permutations by 51b

-module(p).
-export([m/0]).
m()->[io:fwrite(tl(S)++"
")||S<-p("012345")].
p([])->[""];p(L)->[[32,H|T]||H<-L,T<-p(L--[H])].

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

download

return top