Hello,
On Fri, Jul 23, 2010 at 6:52 PM, Moritz Heidkamp
mor...@twoticketsplease.de wrote:
Hi,
Nicolas Pelletier sxatrxtfxcrwamvjk...@gmail.com writes:
nico...@dynamo:~/tmp$ csc -s -j test test.scm
nico...@dynamo:~/tmp$ csc toto.scm
nico...@dynamo:~/tmp$ ./toto
just a little hint: the
Hi,
Nicolas Pelletier sxatrxtfxcrwamvjk...@gmail.com writes:
nico...@dynamo:~/tmp$ csc -s -j test test.scm
nico...@dynamo:~/tmp$ csc toto.scm
nico...@dynamo:~/tmp$ ./toto
just a little hint: the disadvantage of this is that you either have to
delete the test.so or recompile test.scm for every
Hi,
I have some problems with the module system. Here is the code for
test-chicken.scm:
(require-extension srfi-1)
(module test (rev) (import scheme) (import srfi-1)
(define (rev ls) (fold cons '() ls))
)
(import test)
(display (rev (list 1 2 3 4 5))) (newline)
If I omit
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