Using macros to simplify type visitors and enums | Hacker News Reader