Hello, you can do it the following way by generating the import module for test.scm:
nico...@dynamo:~/tmp$ cat test.scm (module test (rev) (import scheme) (import srfi-1) (require-extension srfi-1) (define (rev ls) (fold cons '() ls)) ) nico...@dynamo:~/tmp$ cat toto.scm (require-extension test) (display (rev (list 1 2 3 4 5))) (newline) nico...@dynamo:~/tmp$ csc -s -j test test.scm nico...@dynamo:~/tmp$ csc toto.scm nico...@dynamo:~/tmp$ ./toto (5 4 3 2 1) Regards, -- Nicolas _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users