Hi all,<br><br>How can I use eval in a module definition? For instance, <br><br>(define (abc x)<br> (display "foo")<br> (newline))<br><br>((eval (string->symbol "abc")) 1)<br><br>works, whereas<br><br>
(module foo mzxcheme<br> (define (abc x)<br>
(display "foo")<br>
(newline))<br>
<br>
((eval (string->symbol "abc")) 1))<br><br>(require foo)<br><br>doesn't. Eval appears too look for the abc function in the global namespace. Does anyone know a workaround?<br><br>Thanks,<br><br clear="all">
<br>-- <br>Jean-Pierre Lozi<br><a href="http://www.lozi.org">http://www.lozi.org</a><br>mailto:<a href="mailto:jean-pierre@lozi.org">jean-pierre@lozi.org</a>