|
From: | Martin Schneeweis |
Subject: | [Chicken-users] reexport - not working as expected (or I have wrong expectations) |
Date: | Sat, 21 Jul 2018 11:28:19 +0200 |
Hi, I am trying to reexport functions out of my own modules - but am failing. In my simple example I have 3 modules: - mod-a: exports a simple function - mod-b: does nothing except reexporting the simple function - mod-c: imports mod-b and calls the simple function The behaviour in chicken-4 and chicken-5 are the same - when I pack all 3 modules in the same file the whole thing works (in Chicken-4 mod-c has to "import" mod-b rather than just "use" it). Splitting the whole thing into 3 files does not work - I get a runtime exception (when executing "mod-c"): "Error: unbound variable: mod-a#test-a". Does the modules have to be eggs to be able to reexport? lg Martin The attached files are for chicken-5
all-in-one.scm
Description: Text Data
compile.sh
Description: application/shellscript
mod-a.scm
Description: Text Data
mod-b.scm
Description: Text Data
mod-c.scm
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |