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

== for equality #3

Open
HalosGhost opened this issue Apr 20, 2016 · 0 comments
Open

== for equality #3

HalosGhost opened this issue Apr 20, 2016 · 0 comments

Comments

@HalosGhost
Copy link

So, unlike C, L allows the use of == for testing strings for equality (perhaps because strings are a scalar type in L).

However, if strings can be tested for equality using ==, is there a reason why == cannot also be made to function for structs, hashes and arrays?

It would be nice if all of these could be usable through the same equality operator rather than needing eq() for the other aggregate types.

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