News for hackers. Stuff that matters.
Re:Algebraic Data Types by viraptor on Thursday July 31, 2014 @09:43AM (#8113978)
Pascal's "tagged unions" don't offer anything more than C's though. It's still unsafe and always requires as much memory as the combination of largest cases. OCaml / Haskell / others don't allow type changes at least. That would be useful even without the pattern matching.

There are no comments on this comment yet.