guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in environment-module in 1.6.8?


From: Daniel Ridge
Subject: Bug in environment-module in 1.6.8?
Date: Sun, 12 Nov 2006 16:51:47 -0500


Hello,

environment-module in 1.6.8 and 1.8.1  is defined as:

(define (environment-module env)
  (let ((closure (and (pair? env) (car (last-pair env)))))
    (and closure (eval-closure-module closure))))

but eval-closure-module is never defined. If I substitute the old
definition from guile-1.6.4:

(define (environment-module env)
  (let ((closure (and (pair? env) (car (last-pair env)))))
    (and closure (procedure-property closure 'module))))

then things seem to work.

I depend on this function.

Any thoughts?


Regards,
        Dan Ridge






reply via email to

[Prev in Thread] Current Thread [Next in Thread]