Implementing the “tails” from Data.List module | Dark Hacker News