On Nov 12, 2008, at 2:44 PM, Abdulaziz Ghuloum wrote:

Good!  You win and can go home now. :-)

You probably still want to check for leaks.  How many
iterations can you run the following before running out
of memory?  You might want to do other checks as well
since you know IronScheme better.

(let loop ([i 0])
  (when (zero? (mod i 1000)) (printf "iter ~s\n" i))
  (for-each
    (lambda (x)
      (eval x (interaction-environment)))
    '((library (A)
        (export a)
        (import (rnrs))
        (define (b) 12)
        (define (a) (b)))
      (uninstall-library '(A))))
  (loop (+ i 1)))

Aziz,,,

Reply via email to