(02-24-2017, 08:38 AM)VoltzLive Wrote: def numString(s): return len(list(filter(lambda x: x in "aeiou", s.lower())))
-- count the occurences of some element in a list count :: (Eq a) => a -> [a] -> Int count a xs = length (filter (==a) xs)