Scrabble score by henkma

m@main=do l<-getLine;print$7+sum[1|x<-l,'z'<-snd$span(/=x)"qzzjxzzzkzfhvwyzbcmpzdgz"];m

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

download

return to the top page