Multiple possible error types in a generator function?
(playground)
I would expect the return type of
program to be Effect<string, TooShortError | TooLongError> but it is Effect<string, TooShortError>. (If I switch the order of the conditionals, it's Effect<string, TooLongError>.) Is this to be expected?
