Skip to content

Should TrueTie([1, 0]) == TrueTie([1, 0])? #18

Description

@endolith

Currently this is False.

Probably should be True and probably TrueTie should be a subclass of set, similar to my comment on #17 (comment)?

So that TrueTie([1, 0]) == TrueTie((0, 1)) == TrueTie({1, 0, 1}) is also True.

TrueTie([1, 0]) == TrueTie([1, 0])
Out[53]: False

set([0, 1]) == set((1, 0)) == set({1, 0, 1})
Out[54]: True

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions