Character distance by koyama41

main=interact(\x->unlines[a:": "++show d|a:b<-scanr(:)[]x,(d,c)<-zip[1..]b,a==c])

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

download

return to the top page