Steps line FIXED by rst76

main=interact$unlines.f.words
f(x:y:s)=(x++" "):map((x>>" ")++)(map(:[])y++map(' ':)(f s))
f s=s

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

download

return to the top page