Memoizing recursive functions via the fixed point Y combinator | Hacker News Reader