Re: define-module, #:export and export

2023-01-06 Thread yarl baudig
> > That is also my understanding, confirmed by > > $ cat lib.scm > (define-module (lib) >   #:export (test)) > > (define-syntax test >   (lambda (sintax) >     (syntax-case sintax () >   ((test id) >    (datum->syntax sintax (free-identifier=? #'id #'thing)) > > $ cat test.scm

Re: define-module, #:export and export

2023-01-06 Thread Maxime Devos
On 06-01-2023 14:31, yarl baudig wrote: That is also my understanding, confirmed by $ cat lib.scm (define-module (lib)   #:export (test)) (define-syntax test   (lambda (sintax)     (syntax-case sintax ()   ((test id)    (datum->syntax sintax (free-identifier=? #'id #'thing)