On 5/6/10 7:43 PM, "markpole...@gmail.com" <markpole...@gmail.com> wrote:
> On 2010/05/06 22:50:25, c_sorensen_byu.edu wrote:
>> The preferred predicate to check for list in lilypond
>> is cheap-list?, rather than list?.
>
> Should we encourage users to use `cheap-list?' instead of
> `list?' in their own music-functions? Or does this just
> pertain to the source code or something?
For seldom-used music functions, it probably doesn't matter much. For
source code that will be called a lot, we should probably encourage
cheap-list?
A note in extending where we introduce predicate type checkers would
probably suffice.
Thanks,
Carl
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel