On Fri, 2003-08-08 at 01:42, Dan Doel wrote:

> It would read better
> if you could do something like:
> 
> fun(Continuation.current, arg1, arg2, ...)

The problem with this that I see is that Continuation.current implies
the continuation of the currently executing function.  For example, in
the following code ...

  def f
    # Stuff
    g(Continuation.current)
    # More Stuff
  end

  def g(cc)
    cc.call
  end

The continuation call in g would not return to "More Stuff", but to the
function calling f.

-- 
-- Jim Weirich       jweirich / one.net      http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)