[racket] Serializable continuations

From: Rodolfo Carvalho (rhcarvalho at gmail.com)
Date: Fri Jun 8 00:42:29 EDT 2012


On Fri, Jun 8, 2012 at 1:06 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:

> If you write in
> #lang web-server/base
> then you will get serialization continuations, but none of the Web
> libraries. The transformation isn't really Web-specific.

I could not use  #lang web-server/base on Racket v5.2.1 (Windows). #lang
web-server works (probably bringing in more than the necessary).
I've replaced "let/cc" and "let/ec" with
"call-with-serializable-current-continuation", and now I am getting this

current-continuation-marks: no corresponding prompt in the continuation:

I tried introducing uses of "call-with-continuation-prompt" and
"(make-continuation-prompt-tag 'web)" out of luck. I don't really
understand what the error means.

Can I use "serialize" from "racket/serialize" on continuations made with


Rodolfo Carvalho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120608/79611b5f/attachment-0001.html>

Posted on the users mailing list.