scm_is_integer is not nearly a sufficient prerequisite for calling scm_to_int (well, of course there are size limits but that's not what I am talking about). Try
{ \repeat unfold #2.0 c'1 } which crashes in some strange place. Use #2 instead and it works (of course), use #2.5 and it fails in a proper manner with the intended kind of error message. We probably need some ly_is_integer instead that also checks for scm_exact_p or so? Guile-2.0 has scm_is_exact_integer but Guile-1 apparently not. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel