News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by leshow on Thursday June 20, 2019 @09:49AM (#20232880)
> Yes, that's what makes it more generic than Result. Indeed that's the only practical difference except for a few helper functions and a #[must_use]

I think you have some fundamental misconceptions about sum types. Note that enums also don't even need to have any variants.

enum Never {}

Either way, this discussion is no longer fruitful. I encourage you to read about sum & product types.

There are no comments on this comment yet.