Hi, Ladislav,

Thanks for the update...

[EMAIL PROTECTED] 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-

Reply via email to