News for hackers. Stuff that matters.
Re:Why Haskell? by zozbot234 on Thursday September 12, 2024 @08:40AM (#41520181)
For that matter, PASCAL has had variant records (i.e. sum types) since the 1970s.
Re:Why Haskell? by iso8859-1 on Thursday September 12, 2024 @08:47AM (#41520259)
Did it have an ergonomic way to exhaustively match on all the variants? Since the 70s?

How does the ABI work? If a library adds a new constructor, but I am still linking against the old version, I imagine that it could be reading the wrong fields, since the constructor it's reading is now at a different index?