-module(s). -export([m/0]). m()->f(io:get_line('')). f("")->0;f(S)->f(tl(S)),[io:format(string:substr(S,1,A)++" ")||A<-lists:seq(1,length(S))].
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page