[plt-scheme] prefab structures can't be marshalled in compiled code?
In SVN, serialization now supports prefab structures.
I still have to fix serialization for (1) the kinds of cycles
containing only immutable elements that `read' can handle, and (2) some
other kinds of cycles involving structures with some mutable fields.
Matthew
At Tue, 18 Mar 2008 12:42:20 -0400 (EDT), Danny Yoo wrote:
> Hi everyone,
>
>
> I'm seeing the following error message when I'm trying to compile a module
> with a literal prefab value:
>
> ###########################################################################
> dyoo at kfisler-ra1:~/compiled$ cat prefab_ss.fail
> write: cannot marshal constant that is embedded in compiled code: #s(hello
> world)
>
> dyoo at kfisler-ra1:~/compiled$ cd ..
>
> dyoo at kfisler-ra1:~$ cat prefab.ss
> #lang scheme/base
> (define my-struct #s(hello world))
> ###########################################################################
>
> I know that prefabs are still a bit raw. I just wanted to make sure: will
> this be something that will eventually work?
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme