looksay - today's Haskell snippet nextLookSay = foldr (\xs -> ([length xs, head xs]++)) [] . group lookSay = iterate nextLookSay [1] Conway's Look-and-say sequence