Find words which contains more than 3 e vowels: Difference between revisions
Find words which contains more than 3 e vowels (view source)
Revision as of 18:37, 5 October 2023
, 8 months ago→{{header|Haskell}}
Line 1,182:
---------- MORE THAN THREE VOWELS, AND NONE BUT E --------
p :: String -> Bool
Line 1,197:
main :: IO ()
main = readFile "unixdict.txt"
>>= (putStrLn . unlines . filter p . lines)
</syntaxhighlight>
{{out}}
<pre>belvedere
|