[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does this 'and' construct make sense?
From: |
Jacques Menu |
Subject: |
Re: Does this 'and' construct make sense? |
Date: |
Fri, 6 Mar 2015 10:42:21 +0100 |
Hello Urs,
You’re right, "#t or X" is always #t, and "#t and X" is just X.
JM
> Le 6 mars 2015 à 08:25, Urs Liska <address@hidden> a écrit :
>
> I find
>
> %% switch on debugging.
> #(if (and #t (defined? 'set-debug-cell-accesses!))
> (set-debug-cell-accesses! 5000))
>
> (found in init.ly)
>
> strange.
> Wouldn't it be better ot simply remove the 'and' construct?
> #t evaluates to #t always, isn't it?
>
> Or is this one more Scheme subtlety I don't get?
>
> Best
> Urs
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user