[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: g-wrap: guile-CVS build error
From: |
Jan Nieuwenhuizen |
Subject: |
Re: g-wrap: guile-CVS build error |
Date: |
Sat, 12 Jun 2004 17:07:27 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Andreas Rottmann writes:
> It should come from (oop goops). Could you try
>
> % guile -c '(use-modules (oop goops)) (format #t "~S\n" class-name)'
>
> This yields #<primitive-procedure class-name> for me (for both 1.6.4
> and CVS Guile).
I was just looking at this now. The difference is that g-wrap.scm
says #:export class-name, which shadows the oop-goops classname:
$ guile
guile> (define-module (g-wrap) #:use-module (oop goops) #:export (class-name))
#<directory (g-wrap) 4035bed0>
guile> class-name
ERROR: Unbound variable: class-name
I was trying something like:
(if (defined? 'class-name)
(define class-name (ensure-accessor class-name))
(let* ((oop-goops (resolve-module '(oop goops)))
(goops-class-name (module-ref oop-goops 'class-name)))
(define class-name (ensure-accessor goops-class-name))))
But that doesn't work?
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- g-wrap: guile-CVS build error, Jan Nieuwenhuizen, 2004/06/11
- Re: g-wrap: guile-CVS build error, Andreas Rottmann, 2004/06/12
- Re: g-wrap: guile-CVS build error, Jan Nieuwenhuizen, 2004/06/12
- Re: g-wrap: guile-CVS build error, Andreas Rottmann, 2004/06/12
- Re: g-wrap: guile-CVS build error,
Jan Nieuwenhuizen <=
- Re: g-wrap: guile-CVS build error, Jan Nieuwenhuizen, 2004/06/12
- Re: g-wrap: guile-CVS build error, Andreas Rottmann, 2004/06/12
- Re: g-wrap: guile-CVS build error, Jan Nieuwenhuizen, 2004/06/12
- Re: g-wrap: guile-CVS build error, Jan Nieuwenhuizen, 2004/06/12
- Re: g-wrap: guile-CVS build error, Andreas Rottmann, 2004/06/12