Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: The evaluation semantics

From: lmecir:mbox:vol:cz at: 3-Sep-2005 20:07

I was curious what is a more expected precedence for unbiased people, and it looks, that the expression: abs -4 + -5 is rather expected to yield -1 than 9. Moreover, the evaluation order in Rebol can be called exception-based, because in case: abs -4 + -5 the operator + takes precedence, while in case -4 + abs -5 the function ABS is evaluated as first. These aren't all the evaluation exceptions in Rebol, the quantity of evaluation exceptions is quite high. -L