[plt-scheme] prefab structures can't be marshalled in compiled code?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Tue Mar 18 12:42:20 EDT 2008

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?


Posted on the users mailing list.