On Thu, Jun 12, 2008 at 09:22:21AM +1000, konrad Zielinski wrote:
> Having two strings which look the same but are not equal seems like a
> bit of a design flaw. The intuitive notion would be that strings that
> look the same should always be equal.
Two strings ("transient symbols" in PicoLisp terminology) that look the
same are actually equal, also in PicoLisp.
They are not, however, represented by the same data object, i.e. they
are not "pointer equal".
You have this distinction also in other languages. In 'C' it is '=='
versus 'strcmp()', and in Java '==' versus String.equal().
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]