|
From: | David Kastrup |
Subject: | Re: Issue 1320: Rewriting bar-line::print |
Date: | Wed, 21 Mar 2012 11:43:13 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
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. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |