Welcome to the CHICKEN Scheme pasting service

multifile project with compilation units + modules added by retroj on Sun Mar 30 01:57:59 2014

$ cat x.scm
(declare (unit m))
(module m (f)
 (import chicken scheme)
 (define (f x) (- x)))
$ cat y.scm
(declare (uses m))
(module y (main)
 (import chicken scheme)
 (import m)
 (define (main) (f 1))
 (print (main)))
$ csc -c -J x.scm && csc y.scm -prologue m.import.scm x.o
$ ./y
-1

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV