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

[REBOL] Re: Change in Path Evaluation

From: jelinem1:nationwide at: 27-Oct-2000 11:03

The "aggresive path evaluation" really bugged me too when I was experimenting with paths and blocks. I eventually had to scrap my path ideas and use a different mechanism. I would support the change. - Michael Jelinek Carl Sassenrath <[carl--rebol--com]>@rebol.com on 10/26/2000 08:46:17 PM From: Carl Sassenrath <[carl--rebol--com]>@rebol.com on 10/26/2000 08:46 PM Please respond to [rebol-list--rebol--com] Sent by: [rebol-bounce--rebol--com] To: [rebol-list--rebol--net] cc: Subject: [REBOL] Change in Path Evaluation I've been annoyed for a while that:
>> obj: make object! [t: first [now/time 1 2]] >> obj/t
== now/time But:
>> t: first [now/time 1 2]
== now/time
>> t
== 18:35:24 This occurs because paths are aggressively evaluated. It's sure cute, but it gets in the way of useful code (like REBOL/Link desktop implementation). I'm seriously thinking of changing this, so that last expression would become:
>> t
== now/time That is, indirectly referenced paths are by default not evaluated. Comments? -Carl