Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 8 lines (5 sloc) 0.218 kB
#!/usr/bin/env runhaskell
import Data.List
import Data.Ord
import System.IO
main = interact (unlines . map (\(x:xs) -> x ++ ": " ++ show (1 + length xs)) . reverse . sortBy (comparing length) . group . sort . words)
Jump to Line
Something went wrong with that request. Please try again.