Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define equalities? #25

Open
tkf opened this issue Apr 25, 2020 · 1 comment
Open

Define equalities? #25

tkf opened this issue Apr 25, 2020 · 1 comment

Comments

@tkf
Copy link
Member

tkf commented Apr 25, 2020

It may be nice Init(+) == 0 is true. But there is a question how isequal should work (e.g., what Dict{Any,Any}(Init(+) => :x)[0] should do?).

@tkf
Copy link
Member Author

tkf commented May 17, 2020

It'd be bad to define isequal(Init(*), 1) === true and isequal(Init(*), "") === true because it breaks transitivity.

Defining = may be OK since we already have, e.g., I(3) == I == I(4).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant