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. Jay On Thu, Jun 7, 2012 at 9:32 PM, Rodolfo Carvalho <[email protected]> wrote: > Hello everyone, > > I am writing a small experiment in which I want to persist a continuation in > an SQLite database. > It wasn't possible to 'insert' the continuation directly, so I tried using > "serialize" (from racket/serialize) but it turned out that continuations are > not serializable. > > My program is not a webapp, but, since the webserver has a > "call-with-serializable-current-continuation", I thought there could be a > way to serialize a continuation. > Any advice? Is it something feasible to do? > > > My code is available at https://gist.github.com/2893350 > (In this simple example, I sure could store the internal state of the > counter explicitly instead of the continuation, however that misses the > point) > > > Thanks, > > Rodolfo Carvalho > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users > -- Jay McCarthy <[email protected]> Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 ____________________ Racket Users list: http://lists.racket-lang.org/users

