Welcome to the CHICKEN Scheme pasting service

unsafe submodule added by Kooda on Thu Oct 19 23:56:23 2017

;; public.scm
;; ==========

(declare (uses internal))

(module public (bar)
(import scheme internal)
(define (bar)
  (foo 21)))


;; internal.scm
;; ============

(declare (unsafe) (fixnum-arithmetic) (unit internal))
 
(module internal (foo)
(import scheme)
(define (foo x)
  (* x 2)))


;; Building…
;; =========

Either as two shared libraries or:

chicken internal.scm -emit-all-import-libraries
csc -s -J public.scm internal.c

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which egg implements the CHICKEN wiki?
Visually impaired? Let me spell it for you (wav file) download WAV