News for hackers. Stuff that matters.
Re:Sum Types Are Coming (2015) by fphilipe on Friday February 16, 2018 @03:44AM (#16390856)
If you're looking for a simple sum type without associated value, the standard library's enum works quite well: https://docs.python.org/3/library/enum.html

There are no comments on this comment yet.