Mercurial > repo
changeset 3133:55b26927dd7a
<oerjan> rm test*
author | HackBot |
---|---|
date | Sun, 16 Jun 2013 21:13:26 +0000 |
parents | 2ffadd7ef84b |
children | 62e35753e6b9 |
files | test test.hi test.hs test.o |
diffstat | 4 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test.hs Sun Jun 16 21:12:31 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -import Data.Maybe (catMaybes) -import Data.List (group, sort, stripPrefix) -main = mapM_ putStrLn . map (\s -> head s ++ " occurs->" ++ show (length s)) . group . sort . catMaybes . map (stripPrefix "username:" . (!!2) . words) . lines =<< getContents