guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a top level definition if none so far exists, on the fly.


From: Mike Gran
Subject: Re: Creating a top level definition if none so far exists, on the fly.
Date: Thu, 15 Aug 2013 04:18:52 -0700 (PDT)

> From: Richard Shann <address@hidden>
> 
> I have just started using GNU/Denemo under the guile 2.x and the
> following construct no longer works:
> 
> (if (not (defined? 'ToggleFiguredBassMode::Active))
>     (define ToggleFiguredBassMode::Active #f))

I remember Andy once suggested on this list that
 
(define-once ...) 
 
is a possible replacement for the
 
(if (not (defined? ...)
     (define ...))
 
construction
 
-Mike 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]