[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New read/eval Scheme syntax inconsistent in handling existing code
From: |
Valentin Villenave |
Subject: |
Re: New read/eval Scheme syntax inconsistent in handling existing code |
Date: |
Mon, 5 Dec 2011 00:35:04 +0100 |
On Sun, Dec 4, 2011 at 5:06 PM, David Kastrup <address@hidden> wrote:
> `(module-define! (current-module) (string->symbol ,token)
Wow, interesting. I had seen such things in Nicolas' code (and in
LilyPond codebase), but couldn't understand what it was for.
> Using module-define! beats primitive-eval. If you want to know where it
> is documented: it isn't.
Indeed. I found an entry for module-use! but not module-define!.
> But if you run a Guile program using
> symbol-set! (which at one time was documented), it tells you that this
> is deprecated and you should be using the module system instead. And if
> you try enough different commands with "module" in them on the Guile
> command line...
There are a lot. (most of which seem to be undocumented so far).
> I just asked on the Guile developer list whether this is somebody's idea
> of a joke. And I thought Lilypond documentation was bad.
Well, it depends whether you're referring to developer-oriented
documentation or user-oriented. In the latter case, things have
greatly improved (and were'nt that bad to begin with). But guile
certainly has a long way to go. (In some cases I had to use the
MIT-Scheme manual, for more details on some functions. But it's far
from convenient.)
Have you had a chance to have a look at the patch I suggested? Or
should I send it to -devel, or upload it to rietveld (I hope there's
no need to, for just a couple of regtests)?
Cheers,
Valentin.
- Re: New read/eval Scheme syntax inconsistent in handling existing code, (continued)
- Re: New read/eval Scheme syntax inconsistent in handling existing code, Valentin Villenave, 2011/12/03
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, Valentin Villenave, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, Valentin Villenave, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/04
- Re: New read/eval Scheme syntax inconsistent in handling existing code,
Valentin Villenave <=
- Re: New read/eval Scheme syntax inconsistent in handling existing code, David Kastrup, 2011/12/05