I need to generate all 3 letter words at least with 1 vowel. I have already made a code to generate all words with 3 letters but I can't find how out to make every word with 1 vowel or more. This is my code:
alfabeto = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
alfabeto2 = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
alfabeto3 = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
small = [alfabeto ++ alfabeto2 ++ alfabeto3 | alfabeto <- alfabeto, alfabeto2 <- alfabeto2, alfabeto3 <- alfabeto3]