sumtypes icon indicating copy to clipboard operation
sumtypes copied to clipboard

Sum Types, aka Tagged Unions, for Python

Results 1 sumtypes issues
Sort by recently updated
recently updated
newest added

How about: ```python with match(myobj): with case(MyClass.MyConstructor) as x: x.y with case(MyClass.MyOtherConstructor) as x: x.z ``` I think I could implement this, but I'm not sure how I would implement...