[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 05:17:49 -0700 (PDT) |
> From: Richard Shann <address@hidden>
>> > 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 ...)
>
> Thank you! that works perfectly. Now there is the question of
> supporting both guile 2.0 and 1.8 users. I seem to remember this came
> up in another context, but unfortunately upgrading to Debian Wheezy has
> lost me any easy access to my old emails.
> I'll have a delve around to see if it can be done, but if anyone just
> knows off the top of their head please say.
Try looking at the various responses to this thread
http://lists.gnu.org/archive/html/guile-user/2013-02/msg00173.html
-Mike