Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

deleted 5 characters in body
Source Link
jferard
  • 1.8k
  • 8
  • 7

Haskell, 61(削除) 61 (削除ここまで) 54 bytes

f=foldl1(&&)f=and.(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")

Try it online! Try it online!

I had to add a z at the end of the string to handle the case of a trailing consonant.

Haskell, 61 bytes

f=foldl1(&&).(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")

Try it online!

I had to add a z at the end of the string to handle the case of a trailing consonant.

Haskell, (削除) 61 (削除ここまで) 54 bytes

f=and.(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")

Try it online!

I had to add a z at the end of the string to handle the case of a trailing consonant.

Source Link
jferard
  • 1.8k
  • 8
  • 7

Haskell, 61 bytes

f=foldl1(&&).(zipWith(||)=<<tail).(map(`elem`"aeiouy")).(++"z")

Try it online!

I had to add a z at the end of the string to handle the case of a trailing consonant.

AltStyle によって変換されたページ (->オリジナル) /