Neil Madden wrote:
> I'm not sure I see in what case the dispatcher needs to do more than a > simple [eval], though. In what situation do you get a chain of
control > transfers with yieldTo? (My understanding is that this behaves
like [tailcall],
> so there should be no chains).
Others can correct if I'm mistaken, but there's a subtle difference
between [tailcall] and having the caller [eval] a script that is
returned, beyond the convenience of syntax. [tailcall] resolves
the command name in the context of the [tailcall] command, while
an [eval] in the caller would resolve in the caller context. Many
times this does not matter, but sometimes it does.
I was assuming from the prior messages that [yieldTo] would follow
the same pattern as [tailcall].
--
| Don Porter Mathematical and Computational Sciences Division |
| dona...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core