[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: illegal uses of define in guile
From: |
Bruce Korb |
Subject: |
Re: illegal uses of define in guile |
Date: |
Mon, 14 Oct 2002 17:18:28 -0700 |
Neil Jerram wrote:
> >> Currently, guile allows the following:
> >> (if (not (defined? '%load-verbosely))
> >> (define %load-verbosely #f))
>
> Bruce> I do that.
>
> I do too; however, I guess one could instead write this:
>
> (define %load-verbosely
> (if (defined? '%load-verbosely)
> %load-verbosely
> #f))
>
> Would this work?
Even if it worked in that example, it leaves open:
(if (some-sort-of-context-test)
(begin
(define ....)
...
) )
'cuz that's where I'd really have my problem. :-(
Re: illegal uses of define in guile, rm, 2002/10/15
Re: illegal uses of define in guile, Marius Vollmer, 2002/10/18