News for hackers. Stuff that matters.
Re:Introducing Swift by tel on Monday June 02, 2014 @11:25PM (#7837979)
It's on the bottom half of the page about enumerations. Typically languages have product types, but lack true sum types. Swift's enums provide such leverage.

That said, Swift's types are a bit less than recursive, so there's a bit of niggling still before you get to the affordances of something like Haskell's `data`.

Re:Introducing Swift by VeejayRampay on Tuesday June 03, 2014 @12:06PM (#7841000)
Thank you.