4 ms·
It doesn't, but at least 'when' statements will be exhaustive when working with sealed classes - which is a breath of fresh air if you enjoy working with sum ty
by lllr_finger 7y ago
It doesn't, but at least 'when' statements will be exhaustive when working with sealed classes - which is a breath of fresh air if you enjoy working with sum types and pattern matching.
- kod 7y agowhen expressions will be exhaustive, when statements will not. Needless distinctions like that make the fresh air a little less fresh...