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
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
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 name
Folks,
The attached file exp-serialize-continuation.rkt implements
“define-generator”, which defines a generator. The resultant generators
take a “key”, which allows several generator states to be saved for
later use (in a (key -> continuation) hash table).
So far, so good: It works as expected w
4 matches
Mail list logo