[REBOL] Re: Sameness - a pragmatic approach.
From: lmecir:mbox:vol:cz at: 11-Feb-2003 16:11
Hi Joel,
...
> I'd distinguish between "reading" and "writing" activity, (i.e.
> read-only access vs. mutation) and take the view that for any
> two values A and B,
>
> equal? a b
>
> would be defined as (using non-REBOL but common concepts)
>
> for all R in "reading"
> (R a) = (R b)
>
> (yeah, I know that's recursive, there are just too many "primitive"
> data types in REBOL for me to write all of the base cases ;-)
...
> So, for example, letting R be MOLD
...
Interestingly enough, this isn't the case here:
alias 'a "aaa"
equal? mold 'a mold 'aaa ; == false
equal? 'a 'aaa ; == true
How would you comment that? Does it look like an inconsistency to you?
Regards
-L