Re: [racket-users] Serializable Continuations in Sandboxes

2015-09-17 Thread Jay McCarthy
Hi Tim, Your code is a little more complicated than I can grok directly. I believe that you problem does not have to with the web-language, but just with using serialize. The serialize output format is basically an s-expression, but every time a non-prefab struct appears it has a cons of the

Re: [racket-users] Serializable Continuations in Sandboxes

2015-09-17 Thread Tim Brown
Jay, Thanks for that response. I was struggling to simplify my demonstration... but I see the same error with your example; so I’m trying to apply the thinking to my code. Regards, Tim On 17/09/15 16:30, Jay McCarthy wrote: > Hi Tim, > > Your code is a little more complicated than I can grok

Re: [racket-users] Serializable Continuations in Sandboxes

2015-09-17 Thread Tim Brown
On 17/09/15 16:30, Jay McCarthy wrote: > In contrast, this will fail: > >(define my-eval > (make-module-evaluator > '(module m racket/base > (require racket/serialize) > (define-serializable-struct point (x y) > > (define external-point-rep (my-eval '(serialize