Welcome to the CHICKEN Scheme pasting service

optional args added by iterrogo on Tue Dec 2 22:37:22 2014

(import chicken scheme)

(define (fu x)
  (fx+ x 1))

(define (fu2 x #!optional y)
  (fx+ x 1))

(define x 0)

(time
 (let loop ((i 0))
   (set! x (fu i))
   (when (fx< i 10000000)
     (loop (fx+ i 1)))))

(time
 (let loop ((i 0))
   (set! x (fu2 i))
   (when (fx< i 10000000)
     (loop (fx+ i 1)))))

Your annotation:

Enter a new annotation:

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