box world by notogawa

main=interact$f.init
f s@(x:t)=(do(a,b)<-zip(s:map(:(t>>" "))(r s))s;a++b:"\n")++x:r s
r=reverse

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

download

return to the top page