review proper variance for Maybe/Option/Either

Issue #5 resolved
Jed Wesley-Smith created an issue

need to check all parameters for co and contravariance

orElse(Option<A>) in particular needs to move as the overloaded orElse(Supplier<Option<A>>) no longer works due to Option extending Supplier

Comments (4)

  1. Jed Wesley-Smith reporter
    • marked as bug

    actually changes the API, perhaps a better solution is for Option to not extend Supplier, still a binary API breakage, but possibly worthwhile

  2. Log in to comment