Anonymous user
Anagrams: Difference between revisions
→{{header|Haskell}}: modified last line for formatted output
(→{{header|Haskell}}: make more clear) |
(→{{header|Haskell}}: modified last line for formatted output) |
||
Line 33:
wix = groupBy (groupon fst) . sort $ zip (map sort words) words
mxl = maximum $ map length wix
mapM_ (print .
</pre>
|