[Seaside-dev] thoughts on partial continuations

Paolo Bonzini bonzini at gnu.org
Wed Feb 4 17:04:00 UTC 2009


>> Think about the semantics here for a minute: the whole concept of doing a
>> #call: is that your callback is suspended, to be resumed later. I currently
>> can't think of any case when you would want an ensure block *inside* a
>> callback to be unwound on a #call:. Can you?
> 
> No. I can't even think of a case where you would want an #ensure:
> within the definition of a flow.

Neither do I.  Mixing #ensure: and continuations is a sure way to get
either leaks or doubly released objects (which means either exceptions,
or bugs too-much-reminding-of-C).

Paolo


More information about the seaside-dev mailing list