See

http://archive.develooper.com/perl6-internals@;perl.org/msg11308.html

for a closely-related discussion.

/s

On Fri, 1 Nov 2002, David Whipp wrote:
> In Perl6, everything is an object. So almost everything is
> neither a number nor a string. It probably doesn't make sense
> to cast things to strings/ints, just to compare them. We
> probably want a standard method: .equals(), that does a
> class-specific comparison.
>
> The question is, will we be modifying the definnitions of ==
> and eq, so that one will call the .equals method explicity. And
> what does the other do? Do we want to define them in terms of
> identity vs equality? Then, is identity a class-specific thing
> (i.e. a .identical() method); or is it an "address-in-memory"
> kind of thing?
>
> Did I miss a previous discussion of this?
>
>
> Dave.
>

Reply via email to