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

[REBOL] Re: (No subject)Date: Thu, 26 Oct 2000 21:40:27 -0500

From: jschuhr::hotmail::com at: 26-Oct-2000 19:39

Would it also complicate deeply nested paths? For example: house: make object! [ kitchen-clock: now/time ] meal-times: make object! [ dinner: house/kitchen-clock ]
>> meal-times/dinner
How would one go about extracting the final value of "now/time" ? --John ----- Original Message ----- From: Carl Sassenrath Sent: 12:00 AM To: [rebol-list--rebol--com] Subject: I withdraw the suggestion. Although it's a two line change to the interpreter, it creates an exception in evaluation semantics, and that is never good. The use of :t for general expression traversing is a requirement anyway, due to parens and functions. The :t works fine here. -Carl At 10/26/00 06:46 PM -0700, you wrote:
>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 > >-- >To unsubscribe from this list, please send an email to >[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- To unsubscribe from this list, please send an email to [rebol-request--rebol--com] with "unsubscribe" in the subject, without the quotes.___________________________________________________________ Get more from your time online. FREE MSN Explorer download : http://explorer.msn.com