(For other things, I agree that sum types are cool, and fortunately are supported in Java through sealed classes)
(For other things, I agree that sum types are cool, and fortunately are supported in Java through sealed classes)