Scala Magnet Pattern to Handle Type Erasure | Hacker News Reader