[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to define a boolean?
From: |
Nicolas Sceaux |
Subject: |
Re: how to define a boolean? |
Date: |
Sun, 9 Aug 2009 13:36:09 +0200 |
Le 9 août 09 à 13:21, Marc Hohl a écrit :
#(define-public (slur::boolean grob)
;; just a test function to try and switch boolean values
(display "\nWithin callback\n")
(display "myBool: ")(display myBool)(newline)
(if myBool
(set! myBool #f)
(set! myBool #t))
this can be written: (set! myBool (not myBool))
BTW, camel case is not usual in Scheme, better use hyphens.
(display "myBool: ")(display myBool)(newline)
(ly:slur::print grob))
- how to define a boolean?, Marc Hohl, 2009/08/08
- Re: how to define a boolean?, Mark Polesky, 2009/08/08
- Re: how to define a boolean?, Marc Hohl, 2009/08/08
- Re: how to define a boolean?, Carl Sorensen, 2009/08/08
- Re: how to define a boolean?, Marc Hohl, 2009/08/08
- Re: how to define a boolean?, Carl Sorensen, 2009/08/08
- Re: how to define a boolean?, Marc Hohl, 2009/08/09
- Message not available
- Re: how to define a boolean?, Marc Hohl, 2009/08/09
- Re: how to define a boolean?,
Nicolas Sceaux <=
- Re: how to define a boolean?, Marc Hohl, 2009/08/09
- Re: how to define a boolean?, Carl Sorensen, 2009/08/09
- Re: how to define a boolean?, Carl Sorensen, 2009/08/09
- Re: how to define a boolean?, Marc Hohl, 2009/08/09
- Re: how to define a boolean?, Carl Sorensen, 2009/08/09
- Re: how to define a boolean?, Marc Hohl, 2009/08/10
- Re: how to define a boolean?, Carl Sorensen, 2009/08/10
- Re: how to define a boolean?, Marc Hohl, 2009/08/10