Determine if a string has all unique characters: Difference between revisions
Content added Content deleted
(→{{header|Haskell}}: Updated the variant in terms of find) |
|||
Line 443: | Line 443: | ||
Or perhaps, as an alternative to grouping |
Or perhaps, as an alternative to grouping, and sorting: |
||
<lang haskell>import Data.List (find, intercalate) |
<lang haskell>import Data.List (find, intercalate) |
||
import Numeric (showHex) |
import Numeric (showHex) |