[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [guile/scwm] 2nd argument problem to scm_definedp()
From: |
Marius Vollmer |
Subject: |
Re: [guile/scwm] 2nd argument problem to scm_definedp() |
Date: |
17 Sep 2002 23:50:46 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Rob Browning <address@hidden> writes:
> Why did we decide not to just have scm_module_lookup return SCM_BOOL_F
> if the variable wasn't defined? That seems more flexible. I think
> there was some reason, but I can't reecall it at the moment. i.e.
The reasoning was, if I remember correctly, that making
scm_module_lookup issue the error message will make that error message
more uniform and it will also make it easier for people to use
scm_module_lookup correctly in the 'usual' situation.
We can have a second function thta behaves differently. That function
should also be able to return non-variables (like the mythical macro
transformers).
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
- Re: [guile/scwm] 2nd argument problem to scm_definedp(), (continued)
Re: [guile/scwm] 2nd argument problem to scm_definedp(), P Pareit, 2002/09/17
Re: [guile/scwm] 2nd argument problem to scm_definedp(), Rob Browning, 2002/09/16