Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import Data.List (group,sort)
|
||||
import Control.Arrow ((&&&))
|
||||
main = interact (show . map (head &&& length) . group . sort)
|
||||
import Data.List (group, sort)
|
||||
|
||||
main :: IO ()
|
||||
main = interact (show . fmap ((,) . head <*> length) . group . sort
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue