[Seaside] Continuations - their future?

Lukas Renggli renggli at gmail.com
Tue Dec 11 17:55:58 UTC 2007


> is it the goal to make the code of seaside tail-recursive (CPS) (just
> the call:answer:)?

This is already possible. Instead of #call: you use #show:onAnswer:,
where the first argument is the same and the second argument is the
rest of the computation (a block). Doing it manually leads to
extremely ugly code, doing it automatically would hide this code but
it is not easily possible in a platform independent way.

There are a few other internal places where Seaside uses
continuations. We could get rid of those, but it would require some
major changes in the internal architecture of Seaside.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list