Scala typeclass explained: Implement the Haskell String.read function | Hacker News Reader