main@m=getLine>>=putStrLn.r>>m r[s]=[s];r(s:t)=last t:init t++[s]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page