Describe in 4 words

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
reverse . scanl (flip (:)) [] $ reverse

Prelude> let sgbros n = reverse . scanl (flip (:)) "" $ reverse n
Prelude> sgbros "Tord"
["Tord","ord","rd","d",""]