[REBOL] Re: Core 2.5.2 - Less aggressive evaluation - howto evaluate ?
From: ingo:2b1 at: 7-May-2002 20:13
Cyphre wrote:
> Hi Ingo and all,
>
> I hit this problem in January and Carl answered: "Not quite ready yet... but
> very soon you will be able to use DO to evaluate such paths."
That's what I tried first :-)
> However it looks we still have to use for example:
>
>>>z: to-path 'system/schemes
>>
> == system/schemes
>
> less agressive evaluation results:
>
>>>type? z
>>
> == path!
>
>>>type? do z
>>
> == path!
>
> I've found only two possibilities how to evaluate such paths:
>
>>>type? do compose [(z)]
>>
> == object!
>
> or
>
>>>type? first reduce compose [(z)]
>>
> == object!
>
> Anyone?
... not quite elegant, but shorter:
>> type? do form z
== object!
Kind regards,
Ingo