Basic dependency injection in OCaml with objects | Hacker News Reader