Re: Are eqv and === junction aware?

2008-11-14 Thread TSa
HaloO Jon Lang wrote: Larry Wall wrote: eqv and === autothread just like any other comparisons. If you really want to compare the contents of two junctions, you have to use the results of some magical .eigenmumble method to return the contents as a non-junction. Possibly stringification will

Are eqv and === junction aware?

2008-11-13 Thread TSa
HaloO, reading the Collapsing Junction states thread I wondered how eqv and === handle junctions. I would expect all(1,2) === all(1,2) to evaluate to True and not expand to 1 === 1 1 === 2 2 === 1 2 === 2 which is False. OTOH, 2 === any(1,2,3) should be False because 2.WHAT is

Re: Are eqv and === junction aware?

2008-11-13 Thread Larry Wall
On Thu, Nov 13, 2008 at 05:37:21PM +0100, TSa wrote: HaloO, reading the Collapsing Junction states thread I wondered how eqv and === handle junctions. I would expect all(1,2) === all(1,2) to evaluate to True and not expand to 1 === 1 1 === 2 2 === 1 2 === 2 which is False.

Re: Are eqv and === junction aware?

2008-11-13 Thread Jon Lang
Larry Wall wrote: eqv and === autothread just like any other comparisons. If you really want to compare the contents of two junctions, you have to use the results of some magical .eigenmumble method to return the contents as a non-junction. Possibly stringification will be sufficient, if it