[REBOL] Re: [RWEBOL] HOF and system exploration
From: rotenca:telvia:it at: 28-Oct-2002 1:56
Hi Jan,
> What a waste of time in the past few days! It seems that other
> participants
> were affected as well.
Experimenting is the best way to learn Rebol.
> All the talk about evaluation of "similar", etc.
> did not have much sense since event this starter expression
> x: do :+ 1 2
> has not survived to 2.5.3 version.:
>
> version 2.5.0 :: x = =3; type? x == integer!
> version 2.5.3 :: x== error; type? x == error; type? :x == op!
Uh, it seems to me you have discovered an unknown bug!
I do not think that less agressive evaluation should mean this.
BTW, the behaviour is very strange:
>> do :+ 1
** Script Error: ?op? expected value2 argument of type: number pair char money
date t
ime tuple
** Near: do :+ 1
This means that the + is evaluated and ask two args, but the return value is a
wrong op!, instead of an integer!
The same happens also if the op value is inside a block.
It sems to happen only with op! not with function/action values.
These op! are a real patch in Rebol.
You should send a message to RT feedback.
---
Ciao
Romano