[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01174] == and eql?

From: Dave Thomas <Dave@...>
Date: 2000-01-24 22:28:11 UTC
List: ruby-talk #1174

Can anyone think of a circumstance in the distributed Ruby library
where

  a == b

and

  a.eql? b

return different values?

As far as I can tell, the two are identical throughout. (I understand
that eql? is used for Hashes, I'm just trying to find a circumstance
where they're different)

Thanks

Dave

In This Thread

Prev Next