[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small enhancement to options interface
From: |
Neil Jerram |
Subject: |
Re: Small enhancement to options interface |
Date: |
04 Nov 2002 19:00:57 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Neil" == Neil Jerram <address@hidden> writes:
Neil> A strange thing about Guile's options interface is that
Neil> xxx-options, xxx-enable and xxx-disable all want a quoted
Neil> option symbol as their argument, whereas xxx-set! wants an
Neil> _unquoted_ symbol. [...]
Further^2 thoughts on this: actually it's a can of worms. Allowing
xxx-set! to take a quoted symbol makes it look like it does
evaluation (which we can't make it do because that would be
non-back-compatible), and then someone will get very confused by code
like this:
(define stack depth)
(debug-set! stack 400) ; intending to set the 'depth option
I'll just apply the deobfuscation part of this patch, and hope that a
better approach to options in general comes along soon ...
Neil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Small enhancement to options interface,
Neil Jerram <=