Re: Question about porting mzscheme code
"Scott G. Miller" <[email protected]> Tue, 17 Feb 2009 20:37:57 -0600
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4735767523879423250== Content-Type: multipart/alternative; boundary=001636aa2c14b3c7010463284e46 --001636aa2c14b3c7010463284e46 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > My module definition goes something like: > (module cep-structs > (ce-definition ce-inst) > (import record) > > (define-struct ce-definition (a b)) > (define-struct ce-inst (c d)) > ) > > I load the class cep-structs.scm, which seems to work, but when I then try > and use the loaded definitions (e.g. (display ce-definition)), it says > Error: undefined variable 'ce-definition' I'm using the Sisc interpreter > that comes as part of SchemeScript, an Eclipse plugin for scheme. Did you issue an (import cep-structs) before the display? Scott --001636aa2c14b3c7010463284e46 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> My module definition goes something like:<br> (module cep-structs<br> (ce-definition ce-inst)<br> (import record)<br> <br> (define-struct ce-definition (a b))<br> (define-struct ce-inst (c d))<br> )<br> <br> I load the class cep-structs.scm, which seems to work, but when I then try<br> and use the loaded definitions (e.g. (display ce-definition)), it says<br> Error: undefined variable 'ce-definition' I'm using the Sisc interpreter<br> that comes as part of SchemeScript, an Eclipse plugin for scheme.</blockquote><div><br>Did you issue an (import cep-structs) before the display? <br><br>Scott </div></div><br> --001636aa2c14b3c7010463284e46-- --===============4735767523879423250== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H --===============4735767523879423250== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sisc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisc-users --===============4735767523879423250==--