[gambit-list] Serialization of continuations

Jeremie Lasalle Ratelle pouexmachinax at gmail.com
Thu Feb 12 12:43:44 EST 2009


Well in fact is it even possible to serialize a compiled procedure?

(define (test) (object->u8vector (lambda (x) (+ x x))))

If I compile and run this I get

*** ERROR IN ##object->u8vector -- can't serialize #<procedure #2>

On Thu, Feb 12, 2009 at 12:38 PM, Jeremie Lasalle Ratelle
<pouexmachinax at gmail.com> wrote:
> I am trying to serialize continuations with the following code
> http://pastebin.com/m32acd9c2
>
> It works correctly in gsi but when I compile with gsc I get this error :
>
> can't serialize #<return #4>
>
> Is it possible to serialize a continuation in compiled code?
>



More information about the Gambit-list mailing list