Swift enumerations: kind of like Scala case classes and Haskell ADTs | Hacker News Reader