How to solve an everyday problem with pure functional programming | Hacker News Reader