insert word length by henkma

main=interact f
f x|(a,b)<-span(>'?')x,a>b=show(length a)++'_':a++f b|a:b<-x=a:f b|0<1=x

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

download

return to the top page