Arc Forumnew | comments | leaders | submitlogin
Equality in Pyret (pyret.org)
4 points by akkartik 478 days ago | 1 comment


2 points by Pauan 473 days ago | link

I really like the names "equal-now" and "equal-always".

The "equal-always" operator is the same as "egal"[1], and "equal-now" is the same as "iso" in Arc.

If I ever add an "equal-now" operator to Nulan, now I know what to call it!

---

There's also various "-now" methods for mutable data types[2].

And there's an EqualityResult type, which reminds me of NULL in SQL[3].

---

* [1]: http://home.pipeline.com/~hbaker1/ObjectIdentity.html

* [2]: http://www.pyret.org/docs/latest/string-dict.html#%28part._....

* [3]: https://www.pyret.org/docs/latest/equality.html#%28part._s~3...

-----