DEV Community

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
 
cloudyhug profile image
cloudyhug • Edited

Haskell

countVowels :: String -> Int
countVowels = length . filter (flip elem "aeiou")