[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] [bug #29825] Many scripts avoid (if expr for expr not boo
From: |
Richard Shann |
Subject: |
[Denemo-devel] [bug #29825] Many scripts avoid (if expr for expr not boolean |
Date: |
Sat, 08 May 2010 09:32:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.19) Gecko/20080528 Epiphany/2.22 |
URL:
<http://savannah.gnu.org/bugs/?29825>
Summary: Many scripts avoid (if expr for expr not boolean
Project: GNU Denemo, a gtk+ frontend to GNU Lilypond
Submitted by: rshann
Submitted on: Sat May 8 09:32:47 2010
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In the guile docs there is the statement
“true” means any value at all except #f
so the many occurrences of (boolean? expr) in our scripts are unnecessarily
obscure, as what they are trying to test is if the returned value is not a
string but #f
This infelicitous construction will be copied by others if we do not nip it
in the bud. (Reading Nils' paste code triggered the detection of this, thank
you Nils).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29825>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Denemo-devel] [bug #29825] Many scripts avoid (if expr for expr not boolean,
Richard Shann <=