Jump to content

Unique characters: Difference between revisions

(→‎{{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 =
9,658

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.