Skip to content

Overloaded Add on Option has arguably the wrong behavior #6002

Description

@bstrie

A while ago I overloaded Add on Option types such that Some(1) + None == Some(1). I've since had a change of heart and believe that instead it should be Some(1) + None == None. An informal poll in IRC seems to agree.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions