Swap The Characters by henkma

m@main=getLine>>=putStrLn.foldl1(\s t->[(s>>c:filter(/=c)t)!!3|c<-s]).words>>m

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

download

return to the top page