eq, eql, equal [Was: Es-discuss - several decimal discussions]
# Brendan Eich (17 years ago)
On Aug 25, 2008, at 6:58 AM, Mark S. Miller wrote:
On Mon, Aug 25, 2008 at 6:50 AM, P T Withington <ptw at pobox.com> wrote:
FWIW, as a user, I've always assumed:
== : equal [1]
[1, 2] == [1, 2] // yields false
This makes me sad, but some day there might be ways to attach
multimethods (opt-in basis) that make it all better. Just a thought.
FWIW, as a user, I've always assumed:
== : equal [1] === : eq [2]
I would rather see an
eql
operator introduced than see===
furtherdiluted.
[1] www.nhplace.com/kent/PS/EQUAL.html
[2] modulo the floating point edge cases