[EMAIL PROTECTED] wrote:
> 
> I wonder if path! is really immutable, or whether something else is
> going on, like its range of valid values is restrained.
> 

Based on the following...

    >> p: make path! [a b c d e f]
    == a/b/c/d/e/f
    >> type? p/3
    == word!
    >> p/3: make word! "yow"
    == a/b/yow/d/e/f
    >> :p
    == a/b/yow/d/e/f

... path! values are mutable.

> 
> On 1/5/2000 at 11:02 AM [EMAIL PROTECTED] wrote:
> 
> Trying to add a mutable/immutable characteristics:
> 
> Mutable are the Rebol values, that can be changed, that can change
> state,... (more like a storage than like a value in a sense)
> 
> Immutable are the Rebol values that you cannot change (really
> values in a sense)
> 
> >     series ; undecidable
> >         any-block ; mutable
> >             block ; mutable - series
> >             list ; mutable - series
> >             lit-path ; immutable
> >             hash ; mutable  - series
> >             paren ; mutable - series
> >             path ; immutable - series

                path ; mutable

> >             set-path ; immutable
> 
> Any corrections?
>     Ladislav

Reply via email to