| ▲ | weinzierl 5 hours ago | |
A common use case for the sum type is to define a Result (or Either) type. Now, C# not having checked exceptions is not as much in need for one as Java is, but I could still imagine it being useful for stream like constructs. | ||
| ▲ | Quarrelsome 5 hours ago | parent [-] | |
yeah this is the one I've considered as being mildly compelling. But don't we lose the fun of having exception handling as separate to the happy path? | ||