[REBOL] Re: Sameness - a pragmatic approach.
From: joel:neely:fedex at: 12-Feb-2003 9:13
Hi, Ammon,
I probably was too brief in my phrasing; what I meant was "equality
of content" vs. "same reference" in the same way that one can have
equal blocks that are not the same block.
>> foo: [0 2 4 "Hi!"] == [0 2 4 "Hi!"]
>> baz: [0 2 4 "Hi!"] == [0 2 4 "Hi!"]
>> equal? foo baz == true
>> same? foo baz == false
Sorry for being too "shorthand"!
-jn-
Ammon Johnson wrote:
>
> >> foo: make object! [a: 1 b: "Hi!"]
> >> baz: foo
> >> equal? foo baz
> == true
>
--
----------------------------------------------------------------------
Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446
Atlanta, Ga. - Scientists at the Centers for Disease Control today
confirmed that hoof-and-mouth disease cannot be spread by Microsoft's
Outlook email application, believed to be the first time the program
has ever failed to propagate a major virus.