1. 15
  1.  

  2. 1

    You can create sum types in C and C++ with unions.

    1. 3

      You need a union and a struct (to store the tag).

    2. 1

      Important introduction to a thing that Haskellers often take for granted and forget to mention as one of the language’s virtues. :)

      Yes, it would have been nice if the article went into detail on why what C and C++ have is not as nice.