issues
search
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
Updates for Maybe tests; also adjust explicit/implicit operators
#24
Closed
aggieben
closed
5 years ago
aggieben
commented
5 years ago
This is a follow-on to #18. Changes include
All the maybe tests that should have been in #18
a few little tweaks to the implementation
lots of little tweaks and updates to documentation as a result
Change implicit "out" cast to be
explicit
instead of
implicit
, largely due to the guidance found here:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/using-conversion-operators
. Importantly, while testing I found that the implicit operator led to unexpected results.
This is a follow-on to #18. Changes include
explicit
instead ofimplicit
, largely due to the guidance found here: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/using-conversion-operators. Importantly, while testing I found that the implicit operator led to unexpected results.