yup ^^
Someone Else 37 Forum Addict Feb 10, 2013 1,876 1,440 168 Aug 15, 2015 #799 reverse . scanl (flip (:)) [] $ reverse Spoiler: What I mean by that Prelude> let sgbros n = reverse . scanl (flip (:)) "" $ reverse n Prelude> sgbros "Tord" ["Tord","ord","rd","d",""]
reverse . scanl (flip (:)) [] $ reverse Spoiler: What I mean by that Prelude> let sgbros n = reverse . scanl (flip (:)) "" $ reverse n Prelude> sgbros "Tord" ["Tord","ord","rd","d",""]