can't export conditional variable set with 'cond'

2024-01-23 Thread Mortimer Cladwell
Hi, Suppose I have the following module "testexport" with the auxiliary module "env.scm", used to set global environment variables: -testexport.scm begin-- (define-module (testexport) #:use-module (ice-9 pretty-print) #:use-module (env) ) (define

Re: can't export conditional variable set with 'cond'

2024-01-23 Thread Damien Mattei
Hello Mortimer, i get in a lot of trouble doing those sort of things with Scheme. i mean trying like in C , expecting to have exported variable , in a object file , and thinking that they are fixed at an address in memory, even this idea is just an assumption of how i expected things to work. But t