[ALLY] Re: new functions?
From: fsievert:uos at: 14-Apr-2001 14:19
> I'm going to need to relax the path evalution. It's too
> aggressive and is creating problems. We experienced this
> when writing REBOL/Link, which uses paths to create the
> namespace for the desktop. It was a pain because every
> path variable had to be treated with :care.
> Lightening up path eval, the result would be that:
> >> abc: 'a/b/c
> >> type? abc
> == path
> Currently, the path would be evaluted, and that result
> would be returned. So literal references to paths are
> aggressively evaluated. That must change.
> I'm *VERY* serious about making this change to REBOL's
> core. It will not break most code... but could break
> a few scripts here and there where the coder noticed
> this aggressive evaluation and used it.
I used this feature (?) sometimes to make shortcuts for paths.
But I don't think, changing the path-evaluation (only) would be
enough. There are a some agressive evaluations when using a word to
retrieve a value. Please have a look at
with REBOL/View. You will see, that set-words for example show the same
behaviour. You can also see some inconsistent evaluations in using a word!
or a path! to retrieve a value.
I think, if you really want to change behaviour of path-evalution you
should make the the second and the third row look the same for all other
And I would like them to be green for any value except of any-function!
unset! and error!. And I would like to have a get-path...
What do you think?