Unique characters: Difference between revisions
→{{header|Haskell}}
(→{{header|Haskell}}: Added a variant which folds all strings down to a hash of character frequencies) |
|||
Line 582:
Or folding the strings down to a hash of character frequencies:
<lang haskell>import qualified Data.Map.Strict as M
--------- UNIQUE CHARACTERS FROM A LIST OF STRINGS -------
uniqueChars :: [String] -> String
uniqueChars ks =
|