[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading mixp-0.4 in guile-1.6.8
From: |
Neil Jerram |
Subject: |
Re: Loading mixp-0.4 in guile-1.6.8 |
Date: |
Tue, 25 Mar 2008 21:23:52 +0000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Bruce Carleton <address@hidden> writes:
> I'm trying to load mixp-0.4 in guile-1.6.8 and it's failing for some
> reason. [...]
Hi Bruce,
It looks like a fix to #:use-syntax processing was misapplied to the
1.6.x branch, back in January 2005. (For the details, compare the diff
[0] on the CVS trunk with the diff [1] on the 1.6.x branch.
[0]
http://cvs.savannah.gnu.org/viewvc/guile/guile-core/ice-9/boot-9.scm?root=guile&r1=1.268&r2=1.269
[1]
http://cvs.savannah.gnu.org/viewvc/guile/guile-core/ice-9/boot-9.scm?root=guile&r1=1.266.2.18&r2=1.266.2.19&pathrev=branch_release-1-6
)
The boot-9.scm patch below (which I have not tested) should fix this;
alternatively you could change the mixp source to use a top level
(use-syntax ...) form, instead of a #:use-syntax ... within the
(define-module ...) form. Or you could upgrade to 1.8.4. I hope one
of those solutions is feasible!
Regards,
Neil
--- boot-9.scm 8 Dec 2006 20:37:40 -0000 1.266.2.26
+++ boot-9.scm 25 Mar 2008 21:15:32 -0000
@@ -1768,9 +1768,9 @@
(let* ((interface-args (cadr kws))
(interface (apply resolve-interface interface-args)))
(and (eq? (car kws) #:use-syntax)
- (or (symbol? (car interface-args))
+ (or (symbol? (caar interface-args))
(error "invalid module name for use-syntax"
- interface-args))
+ (car interface-args)))
(set-module-transformer!
module
(module-ref interface (car