lilypond-devel
[Top][All Lists]
Advanced

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

default values in documntation strings?


From: Werner LEMBERG
Subject: default values in documntation strings?
Date: Sun, 03 Sep 2023 04:09:29 +0000 (UTC)

Folks,


consider the following

```
partCombine =
#(define-music-function (chord-range part1 part2)
   ((number-pair? '(0 . 8)) ly:music? ly:music?)
   (_i "... The default value of @var{chord-range} is @code{(0. 8)}.
...")
   ...
```

Is there a standardized way to mention the default value of
`chord-range` in the documentation string, where this default value is
directly derived from the signature?  With 'standardized' I mean a
future-proof solution that will work with (yet to be done)
translations.


    Werner



reply via email to

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