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




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to