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

[REBOL] Joel's technical essay/challenge Re:

From: joel::neely::fedex::com at: 7-Oct-2000 9:57

Hi, Ladislav, Thanks for the update... [lmecir--geocities--com] wrote:
> rt: func [ > { > a referentially transparent way > to invoke a path on a given object/function/something > Usage: > rt [[object 'function 'refinement1 ...] arg1...] > } > [catch] > blk [block!] > ] [ > do function [] [result1 result2 something] [ > throw-on-error [ > result1: do/next first blk > something: first result1 > result2: append copy ['something] reduce second result1 > do head change/only copy blk to path! result2 > ] > ] > ] > > > ; Warning - although it seems to work, it is untested against the GC bug! > ; (and my personal guess is, that it wouldn't survive) >
I'm going to be off-line for a few days, but if no-one else has had a chance to test this, I'll try to do so when I return to wired status. -jn-