[REBOL] Re: Pair comparison (was: native? :==)

2002-02-06 Thread Charles
> Hi, Charles, > > > > > Dixit Allen Kamp (09.58 05.02.2002): > > > Pairs also represent size. If you only compare X then this falls > > > apart when dealing with size. Which is greater 5x1 or 3x2 ?? > > > > You miss my point. What I mean is, although there _are_ different > > ways to loo

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread Joel Neely
Hi, Charles, "[EMAIL PROTECTED]" wrote: > >I think I get what you're at. Ie, if you can compare a "which > comes first?" on strings, why not order simply based upon left-to- > right in pairs, treating them as if they were strings as well. > So, 5x1 is greater than 4x9, but less than 5x2 ..

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread [EMAIL PROTECTED]
I think I get what you're at. Ie, if you can compare a "which comes first?" on strings, why not order simply based upon left-to-right in pairs, treating them as if they were strings as well. So, 5x1 is greater than 4x9, but less than 5x2 .. yes? Although, what actual use this would be, I'

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread [EMAIL PROTECTED]
There's always the case to evaluate for area; whichever coordinate pair would take up the most area in a plane, that would be the greater one. If they take up the same, then obviously (2x3 > 3x2) would fail - because it's equal area. It's one solution :/ --Charles > Precedence or not

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread Ladislav Mecir
Hi Joel, <> ... However, the absence of such intuitive guidance should not deprive the data type (again, per se) from having a consistent set of capabilities such as are common to other data types, else they give up their first-class citizenship in the community! -jn- -- ; sub REBOL {}; sub hea

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread Joel Neely
Thanks, Allen, for an example that helps me focus on the key issue I've been thus far unable to make clear! Allen Kamp wrote: > > From: "Hallvard Ystad" <[EMAIL PROTECTED]> > > > Dixit [EMAIL PROTECTED] (23.03 04.02.2002): > > >Yes, but for string and block series there is a natural order > > >

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread Hallvard Ystad
Dixit Allen Kamp (09.58 05.02.2002): >Pairs also represent size. If you only compare X then this falls apart when >dealing with size. Which is greater 5x1 or 3x2 ?? You miss my point. What I mean is, although there _are_ different ways to look at this, a simple left-to-right ordering is what is

[REBOL] Re: Pair comparison (was: native? :==)

2002-02-05 Thread Allen Kamp
- Original Message - From: "Hallvard Ystad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 6:13 PM Subject: [REBOL] Pair comparison (was: native? :==) > Dixit [EMAIL PROTECTED] (23.03 04.02.2002): > >Yes, but for string and block series there is a natural o