Re: [Chicken-users] reexport - not working as expected (or I have wrong expectations)

2018-07-21 Thread Evan Hanson
Hi Martin, The reason for this behaviour is that `reexport' only manages syntax, i.e. it imports and exports module identifiers but does not load libraries. This is similar to the distinction between `use' and `import' in C4. On 2018-07-21 14:31, Martin Schneeweis wrote: > Isn't "reexport"

Re: [Chicken-users] reexport - not working as expected (or I have wrong expectations)

2018-07-21 Thread Martin Schneeweis
ko...@upyum.com wrote: > Martin Schneeweis wrote: > > 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". > > The one thing that is missing from your example, is that mod-a is > never

Re: [Chicken-users] reexport - not working as expected (or I have wrong expectations)

2018-07-21 Thread kooda
Martin Schneeweis wrote: > 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". The one thing that is missing from your example, is that mod-a is never loaded, this can be acheived by adding `(use

[Chicken-users] reexport - not working as expected (or I have wrong expectations)

2018-07-21 Thread Martin Schneeweis
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