[gambit-list] Operator is not a PROCEDURE, unbound

Sven Hartrumpf hartrumpf at gmx.net
Fri Sep 20 07:56:09 EDT 2013


I have a large program that runs fine in the interpreter.
But when compiled with these options (latest gambit from git)
 (inlining-limit 500)
the compiled program crashes as follows:

*** ERROR IN | n| -- Operator is not a PROCEDURE
(#!unbound '#(syntax-object change-directory ((top) #(ribcage #(change-directory) #((top)) #(change-directory)))) '(global . change-directory) '*top*)

change-directory is from a simple Scheme portability layer:

(define (change-directory path)
  (current-directory path))


More information about the Gambit-list mailing list