hi
i have installed readline and linenoise
and of course the readline on linux libraries and dev
but i have this error:
Error: unbound variable: readline#make-readline-port
i have the same error with linenoise:
Error: unbound variable: linenoise#make-linenoise-port
my system is ubuntu
Hello Damien,
You'll want to `(use readline)` and `(use linenoise)` with CHICKEN 4.
While `(import readline)` can be used, its purpose is different as it
only loads bindings and doesn't load the shared library. With CHICKEN 5
this behavior has been consolidated, you'd use `(import readline)` and
thank Vasilij, it works now with both
with linenoise, adding that in .csirc:
(use linenoise)
(current-input-port (make-linenoise-port))
(set-history-length! 300)
(load-history-from-file "/home/mattei/.chicken-scheme-history")
(let loop ((expr (linenoise "> ")))
(cond ((equal? e