lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1320: Rewriting bar-line::print


From: Marc Hohl
Subject: Re: Issue 1320: Rewriting bar-line::print
Date: Thu, 22 Mar 2012 08:06:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19

Am 21.03.2012 11:43, schrieb David Kastrup:
Marc Hohl<address@hidden>  writes:

Anyway, I don't get the case statement right - am I too stupid?
Stupid enough to follow my advice without checking the manual first (or
afterwards).  Looking in the Guile manual, it turns out that case uses
eqv? for checking equality.

guile>  (eqv? "x" "x")
#f
guile>

So you need to revert to cond here and use string=.  Or employ assoc
in some form.
Ok, thanks – I'll use cond.

Marc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]