Find words with alternating vowels and consonants: Difference between revisions
Find words with alternating vowels and consonants (view source)
Revision as of 20:39, 21 January 2021
, 3 years ago→{{header|Haskell}}: (slight disaggregation)
m (→{{header|Haskell}}: (slight disaggregation)) |
|||
Line 578:
isLongAlternator s =
9 < length s
&& all
alternating :: (Char, Char) -> Bool
alternating = uncurry (/=) . join bimap isVowel
isVowel :: Char -> Bool
|