Find words which contains all the vowels: Difference between revisions
Find words which contains all the vowels (view source)
Revision as of 21:20, 10 August 2023
, 10 months ago→{{header|Haskell}}: (simpler)
m (→{{header|Haskell}}: filter rather than partition (simpler here)) |
m (→{{header|Haskell}}: (simpler)) |
||
Line 1,279:
eachVowelOnce :: String -> Bool
eachVowelOnce w =
in
vowels :: Set Char
Line 1,290 ⟶ 1,289:
main =
readFile "unixdict.txt"
>>= (mapM_ putStrLn . filter p . lines)</syntaxhighlight>
{{Out}}
<pre>ambidextrous
|