Word frequency count FIXED by notogawa

import Char
import List
main=interact(\x->(group$sort$words[toLower a|a<-x,isAlpha a||a==' '])>>= \y->shows(length y)$' ':y!!0++"\n")

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

download

return to the top page