Find words with alternating vowels and consonants: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
Hout (talk | contribs)
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 -> NString -> [a]
-- 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