;; cat test.scm (import scheme) (import (chicken base)) (import (chicken repl)) (import linenoise) (import something) (set-history-length! 300) (load-history-from-file ".linenoise-history") (current-input-port (make-linenoise-port)) (repl) ;; cat something.import.scm (module something * (import scheme) (define (hello) (display "Hello world")) ) ;; csc -shared -J something.scm ;; csc test.scm && ./test #;> (hello) Error: unbound variable: hello Call history: (##core#begin (##core#require library scheme#) (##core#require library chicken.base#) (##core#requir... (##core#require library scheme#) (##sys#load-library (##core#quote library)) (##core#quote library) (##core#require library chicken.base#) (##sys#load-library (##core#quote library)) (##core#quote library) (##core#begin (##core#require expand chicken.syntax#)) (##core#require expand chicken.syntax#) (##sys#load-library (##core#quote expand)) (##core#quote expand) (##sys#load-library (##core#quote library)) (##sys#load-library (##core#quote library)) (##sys#load-library (##core#quote expand)) (hello) (hello) <-- #;> #;> (import something) ; loading ./something.import.scm ... #;> #;> (hello) Hello world#;> #;>