[REBOL] Re: paths & lookups & change
From: brett:codeconscious at: 22-Oct-2003 20:07
Hi Gabriele, Robert,
Interesting comments about the Find - I took Robert to mean that he didn't
need to use the word Find in his code or data structure, but I see your
point that evaluation of the path will likely cause an internal search
operation. I'm certainly not defending my code example - it was UGLY :^)
Maybe this situation indicates that the "why" of Robert's need should be
looked at? So Robert, Why did you want the special set-path form - to save
your fingers or for some other reason?
Gabriele, About your Modify function. It is for you to define how it
executes, but I wonder whether this sample:
> >> modify b 'test func [v] [v + 1]
> == 2
> >> modify b 'test func [v] [v + 1]
> == 3
.. should instead store the function in the block rather than doing an
internal evaluation on it. That way it becomes more complimentary to Select.
Regards,
Brett.