Type constraints in 65 lines of SQL | Hacker News Reader