maxveldink / sorbet-result

Adds T::Result as a basic, strongly-typed monad
MIT License
23 stars 2 forks source link

Add `==` implementation for `Result` and descendants #61

Open maxveldink opened 8 months ago

maxveldink commented 8 months ago

Implementing the == method on results, successes, and failures would be nice, especially for test frameworks. I took an initial stab at this and was met with some generic variance errors. I would be happy to have a contribution for this if someone wants to give it a shot.