Find words with alternating vowels and consonants: Difference between revisions
Content deleted Content added
Line 191: | Line 191: | ||
map(matchingWords(readFile(fpWordList)), ¬ |
map(matchingWords(readFile(fpWordList)), ¬ |
||
{"aeiou", "aeiouy"})) |
{"aeiou", "aeiouy"})) |
||
else |
else |
||
display dialog "Word list not found in this script's folder:" & ¬ |
display dialog "Word list not found in this script's folder:" & ¬ |
||
Line 213: | Line 212: | ||
-- filteredLines :: String -> |
-- filteredLines :: String -> NSString -> [a] |
||
on filteredLines(predicateString, s) |
on filteredLines(predicateString, s) |
||
-- A list of lines filtered by an NSPredicate string |
-- A list of lines filtered by an NSPredicate string |