[plt-scheme] serialization and prefabs
At Mon, 17 Mar 2008 03:48:49 -0400 (EDT), Dimitris Vyzovitis wrote:
> don't play very well together...
>
> > (define-struct test (x y) #:prefab)
> > (serialize (make-test 1 2))
> serialize: expected argument of type <serializable object>; given #s(test 1 2)
I will extend `serialize' when I can. It's easy to add support for
non-cyclic values, but I want to make `serialize' work correctly for
the kind of immutable graph structure that the reader can handle.
Matthew