On Thu, 15 Aug 2013 04:18:52 -0700 (PDT) Mike Gran <spk...@yahoo.com> wrote:
> > From: Richard Shann <richard.sh...@virgin.net> > > > > 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. Richard > > is a possible replacement for the > > (if (not (defined? ...) > (define ...)) > > construction > > -Mike