[Seaside-dev] Seaside-Core-lr.62

Lukas Renggli renggli at gmail.com
Thu Feb 28 08:42:12 UTC 2008


>  > It is just that Seaside-Core-lr.62 doesn't require continuations
>  > anymore. As long as you don't use #call:/#answer: (plus some
>  > exceptions).
>
> That's amazing -- but that also means no tasks, right?  Does
>  WARenderLoop>>#call: require continuations?

You can do tasks with CPS. It is not nice, but it should work.

WATask>>go
    self show: WAConfirm new onAnswer: [ :ans |
        ans ifTrue: [ somethign delete ] ]

WARenderLoop>>#call: requires continuations. This is essentially the
same as a normal #call: except that it starts in a new render-loop.

What I propose is a pure refactoring of moving functionality that
requires continuations into a separate package. There are a few
(central) places (such as cookies, render-loop, ...) where
continuations are used, and probably shouldn't ...

Lukas

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


More information about the seaside-dev mailing list