true-myth / true-myth-csharp

A library for safer optional programming in C♯.
https://true-myth.github.io/true-myth-csharp
MIT License
4 stars 1 forks source link

Implement IComparable #22

Closed aggieben closed 5 years ago

aggieben commented 5 years ago

Result and Maybe are both sealed and immutable, and in RC5 will become value types. We are overriding .Equals and ==, and should probably go ahead and just make these implement IComparable as well.