[E-Lang] Question about transparent forwarder example in E in a Walnut

Marc Stiegler marcs@skyhunter.com
Mon, 26 Feb 2001 23:09:33 -0700


You got it right the first time. It's a typo, target should be replaced with
farObjectToRepresent. It will be fixed in the next release iteration of the
book.

Thank you.

--marcs

----- Original Message -----
From: Wesley Felter <wesley@felter.org>
To: <e-lang@mail.eros-os.org>
Sent: Monday, February 26, 2001 7:48 PM
Subject: [E-Lang] Question about transparent forwarder example in E in a
Walnut


> Either I found an EiaW typo, in which case this is probably only of
> interest to MarcS, or I'm confused about how match and call/send work.
>
> In http://www.skyhunter.com/marcs/ewalnut.html#TOC63 I see:
>
> transparentForwarderMaker new(farObjectToRepresent) :any {
>     def forwarder {
>         match [verb,args] {E send(target,verb,args)}
>     }
> }
>
> I'm confused by the appearance of "target", which doesn't appear to be
> bound anywhere, and the fact that farObjectToRepresent isn't used. I'm
> guessing this is a typo and replacing target with farObjectToRepresent
> should fix it, but maybe there's something that I'm missing.
>
> Wesley Felter - wesley@felter.org - http://felter.org/wesley/
>
> _______________________________________________
> e-lang mailing list
> e-lang@mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>