[REBOL] Re: R: Mutability and sameness - a new puzzle
From: rotenca:telvia:it at: 23-Jul-2001 13:07
From: "Gabriele Santilli" <[g--santilli--tiscalinet--it]>
> Hello Romano!
> Actually, it is a property of series values. Words just have the
> ability to refer to other values (whatever they are).
> >> series: [a b c d]
> == [a b c d]
> >> blk: reduce [series skip series 2]
> == [[a b c d] [c d]]
> >> head blk/2
> == [a b c d]
My error. I wanted only say that sometime a series value is indipendent from
index (3 or 100 after tail is the same).
> RT> Another thing: if you make a different binding, two word
> RT> which have the same value can result in different value.
> Because they don't refer to the same value! Two words with the
> same spelling but with a different binding are two different word!
> values. They can refer to the same REBOL value or they can refer
> to two different values, just like any other couple of different
> word! values.
You should read my observation in the context of thread with Mecir. The sense
was: if we leave changing the serie, to get the sameness of the value of a
happens when I change binding?
> RT> same? reduce bind [get/any 'a] in o 'a reduce bind [get/any
> RT> 'a] 'system;=false
> BTW, it's simpler this way:
> same? get/any in o 'a get/any in system/words 'a
I wanted to remain near the literal expression of EQ in the text of Mecir to
define Identical? I did not want to change the expression "get/any 'a".
> Of course not, You are comparing two different values; the fact
> that they are referred to by two words that happen to have the
> same spelling is irrelevant.
Do you think that when one changes the Binding of a word, Rebol delete the old
word and creates a newer one? I think it change only a propriety of a word,
leaving the rest the same.