On Mon, Jun 30, 2008 at 4:49 AM, felix winkelmann <[EMAIL PROTECTED]> wrote: > Don't be afraid to report bugs and offer critique! If I come over grumpy > at times, it's just because the module- and macro stuff stresses my > programming > abilities to the limit...
Hi Felix. The behavior below doesn't seem right. An unimported binding is seen within a module in both compiled and interpreted code. However a binding (pretty-print) in the extras unit behaves as expected. Compiled: $ echo "(use hostinfo) (module foo () (import chicken) (print host-information))" > /tmp/a.scm $ csc4 /tmp/a.scm && /tmp/a #<procedure (hostinfo#host-information host419)> Interpreted: SVN rev. 11260 compiled 2008-07-11 on amaranth.xorinia.dim (Darwin) #;1> (use hostinfo) ; loading /Users/jim/local/chicken-hygienic/lib/chicken/4/hostinfo.import.so ... ; loading /Users/jim/local/chicken-hygienic/lib/chicken/4/scheme.import.so ... ; loading /Users/jim/local/chicken-hygienic/lib/chicken/4/chicken.import.so ... ; loading /Users/jim/local/chicken-hygienic/lib/chicken/4/extras.import.so ... ... ; loading /Users/jim/local/chicken-hygienic/lib/chicken/4/hostinfo.so ... #;2> (module foo () host-information) #<procedure (hostinfo#host-information host419)> #;3> (module foo () pp) Warning: reference to possibly unbound identifier `pp' Error: unbound variable: foo#pp #;3> pp #<procedure (pretty-print obj1081 . opt1082)> _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
