in reply to Re: Do you consider these different or the same?
in thread Do you consider these different or the same?

The one that looks closes is 'equal' however, its not clear how it defines "isomorphic". Assuming it defines it the same way I would (a reference used twice is different from two references, even if the content of the references is 'equal').

---
$world=~s/war/peace/g

  • Comment on Re^2: Do you consider these different or the same?

Replies are listed 'Best First'.
Re^3: Do you consider these different or the same?
by spurperl (Priest) on Jul 01, 2005 at 12:19 UTC
    I think "isomorphic" in this context means that the two datums are interchangeable. Not necessarily residing in the same memory location, though. eq is used to find out if it's actually the same reference.

    Besides, some languages/libraries can imlement a copy-on-write strategy (for example, QString in the Qt C++ library) that defy simple definitions.