Ejemplo n.º 1
0
 public bool Equals(IMayHaveSome other) => other != null && !other.HasSome;
Ejemplo n.º 2
0
 public bool Equals(IMayHaveSome other) =>
 other is Option <T>
 ?Equals((Option <T>) other)
     : other != null && !HasSome && !other.HasSome;