;; cat test.scm (use linenoise) (import scheme linenoise 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 test.scm -I something.import.scm && ./test ;; The repl has the linenoise features I was looking for, ;; but it doesn't load the context where I import ;; the definitions in the module ``something''. ;; Typing (hello) results in an ``unbound variable'' error.