uqbar-project / wollok-language

Wollok language definition
GNU General Public License v3.0
7 stars 9 forks source link

Unify equality #43

Open nscarcella opened 4 years ago

nscarcella commented 4 years ago

Currently, the language has two main methods for defining equality: == and equals.

This duality is error prone and presents many implementation difficulties along with concerns related to overriding these methods or mixing them from mixins. Many objects of the wollok.lang and wollok.lib packages rely on the concept of equality and would be good to have a single interface to support it.

Necessary steps:

fdodino commented 4 years ago

+1, @PalumboN @npasserini @lspigariol @clombardi. I'd like to remove equals in favor of ==. It is a huge change (reviewing papers, examples, etc.) What do you think?