News for hackers. Stuff that matters.
Re:Applying “make invalid states unrepresentable” by acidbaseextract on Tuesday October 06, 2020 @02:15AM (#24695158)
There's a library: https://sumtypes.readthedocs.io/en/latest/

It's serviceable, and even does static checking of total coverage of cases. I will say that it makes linters freak out.

There are no comments on this comment yet.