Mind-bending functional programming with TypeScript – part 1 | Dark Hacker News