Skip to content

Feature request: equality by value #18

Description

@JDLH

It would be lovely if this module defined the __eq method to test for equality by value, i.e. sets {"a", "b"} and {"b", "a"} would compare as true. In the absence of this, the Lua interpreter tests for equality by object identity, i.e. two sets are the same if and only if they refer to the same object in memory, and two different objects with the same value are regarded as not equal.

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