News for hackers. Stuff that matters.
Re:Nim v2.0 Released by ElegantBeef on Tuesday August 01, 2023 @03:05PM (#36960904)
> It lacks proper sum types

We've talked about this before! You know it has sum types, just not the variation you want.

Re:Nim v2.0 Released by j-james on Tuesday August 01, 2023 @03:21PM (#36961160)
I know, I know! I do very much like the "type wrapper" approach more than the "object variant" approach.

Perhaps in the future we'll simply have both and have no reason to debate ;-)