<br><div><span class="gmail_quote">On 6/13/07, <b class="gmail_sendername">Ryan Culpepper</b> <<a href="mailto:ryanc@ccs.neu.edu">ryanc@ccs.neu.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>It will work at the repl, yes. But if you put the code in a module and<br>try to compile the file, the compiler will reject it. So that technique<br>isn't suitable for use in a PLaneT package, for example. Search the
<br>archives for "3-D syntax" for more information.</blockquote><div><br>Found the thread - I thought I might have been the first to come across this issue, guess not :) </div><br>I tried to wrap all code into modules and run the file via mzscheme -r and it works, but also test out compilation and got the following:
<br><br>C:\\Local\PLT-370\>mzc.exe --exe test.exe baw.scm<br>mzc v370 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.<br>write: cannot marshal constant that is embedded in compiled code: #<struct-type:<br>foo><br><br>
=== context ===<br><br>Yup - verified.<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You do get points for creativity, though :)</blockquote>
<div><br>Haha ;) <br></div><br></div>