Some of the lilypond Scheme files do the following:

(define decl '())
(define (make-var n v) (list "var" n v))
(defmacro define-session (name value)
  (define (inner n v)
    (set! decl
        (cons
         (make-var n v)
         decl))
    )
  `(,inner ',name ,value))
(define-session foo 1)
(display decl)
(newline)

In GUILE 2.2, this yields

;;; WARNING: compilation of /home/hanwen/vc/lilypond/q.scm failed:
;;; unhandled constant #<procedure inner (a b)>

What does this error message mean, and what should I do to address the problem?
-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen

Reply via email to