[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \concat markup command
From: |
Han-Wen Nienhuys |
Subject: |
Re: \concat markup command |
Date: |
Sat, 25 Nov 2006 01:12:22 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061107) |
Werner LEMBERG escreveu:
>> another option is to use fold-left or fold-right (srfi-1 IIRC) to do
>> the list looping
>
> Ok, here's another try. However, look how `result' is set in the
> first `let' block -- what about adding safe-car and safe-cdr (on the
> C++ level) which don't signal an error if its argument is the empty
> list? The Elisp versions of car and cdr do this by default...
In scheme, it's less clear what such a function should return; #f
(false) and '() (end of list) are distinct.
Can you push this change after adding it to one of the markup
regtests?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
- Re: \concat markup command, (continued)
Re: \concat markup command, Erik Sandberg, 2006/11/12
- Re: \concat markup command, Werner LEMBERG, 2006/11/12
- Re: \concat markup command, Han-Wen Nienhuys, 2006/11/13
- Re: \concat markup command, Werner LEMBERG, 2006/11/24
- Re: \concat markup command, Han-Wen Nienhuys, 2006/11/24
- Re: \concat markup command, Werner LEMBERG, 2006/11/24
- Re: \concat markup command, Werner LEMBERG, 2006/11/24
- Re: \concat markup command,
Han-Wen Nienhuys <=
- Re: \concat markup command, Werner LEMBERG, 2006/11/29
- Re: \concat markup command, Han-Wen Nienhuys, 2006/11/29