Anagrams: Difference between revisions
Content deleted Content added
→{{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>
|