On Thu Jul 26 16:49:12 2007, allison wrote:
> PMCNULL is a singleton, so PMCNULL always equals PMCNULL.
>
> Undef allows morphing and "interesting values" of Undef (with attached
> properties and possibly roles) so it can't be just a singleton. But,
> Undef can report itself as equal to other Unde
PMCNULL is a singleton, so PMCNULL always equals PMCNULL.
Undef allows morphing and "interesting values" of Undef (with attached
properties and possibly roles) so it can't be just a singleton. But,
Undef can report itself as equal to other Undefs. Let's make it so.
It's likely that undefined elem
And what about Null? And if they're not equal, what effect would that
have on sorting? Although for sorting, I guess that NaN != NaN would
have the some issue, but undef values in an array are more likely.
On Feb 20, 2006, at 4:34 PM, Joshua Hoblitt via RT wrote:
Can we get a design descisi
> [EMAIL PROTECTED] - Wed Dec 29 18:22:10 2004]:
>
>
> This code:
>
> new P0, .Undef
> new P1, .Undef
> eq P0, P1, L1
> print "not "
> L1: print "ok\n"
> end
>
> prints "not ok". Should it? If Parrot considers every Undef PMC to
> be distinct, it's going to ma
Simon Glover <[EMAIL PROTECTED]> wrote:
> On Fri, 31 Dec 2004, Leopold Toetsch wrote:
>> This is a different issue. The ResizablePMCArray doesn't properly
>> inherit the is_equal multi method from FixedPMCArray and as far as I can
>> see, there is no Undef involved at all. Empty array slots are f
On Fri, 31 Dec 2004, Leopold Toetsch wrote:
> Simon Glover <[EMAIL PROTECTED]> wrote:
>
> > new P0, .ResizablePMCArray
> > set P0, 1
> > clone P1, P0
> > eq P0, P1, L1
> > print "not "
> > L1: print "ok"
> > print "\n"
> > end
>
> > prints "not ok".
>
Leopold Toetsch wrote:
Simon Glover <[EMAIL PROTECTED]> wrote:
This code:
new P0, .Undef
new P1, .Undef
eq P0, P1, L1
print "not "
L1: print "ok\n"
end
prints "not ok". Should it?
That depends ;)
... If Parrot considers every Undef PMC to
be distinct, it's going to make
Simon Glover <[EMAIL PROTECTED]> wrote:
> This code:
> new P0, .Undef
> new P1, .Undef
> eq P0, P1, L1
> print "not "
> L1: print "ok\n"
> end
> prints "not ok". Should it?
That depends ;)
> ... If Parrot considers every Undef PMC to
> be distinct, it's goin
# New Ticket Created by Simon Glover
# Please include the string: [perl #33603]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=33603 >
This code:
new P0, .Undef
new P1, .Undef
eq P0, P1, L1
pri