(module foo (hello) (import scheme) (define (hello) "hello world\n")) (module bar () (import scheme) (import-for-syntax foo) (define-syntax hi (er-macro-transformer (lambda (f r c) `(,(r 'display) ,(hello))))) (hi)) ;; CHICKEN 4: ;; Error: during expansion of (hi ...) - unbound variable: foo#hello ;; CHICKEN 5: ;; Error: (require) cannot load extension: foo