re: Daily Challenge #3 - Vowel Counter VIEW POST

FULL DISCUSSION
 

Haskell:

import Data.Char

countVowels :: [Char] -> Int
countVowels = length . filter (`elem` "aeiou" ) . map toLower
code of conduct - report abuse