Thomas Morley <thomasmorle...@gmail.com> writes:

> (1)
> stencil-whiteout-box uses define*-public and optional arguments, I
> thought it's broken in guilev2

Only in connection with currying.  So

(define*-public ((...

is (possibly) going to cause trouble while

(define*-public (...

is ok.

> If it's not ok, it should be fixed, ofcourse. Though in general, would
> dotted syntax be an alternative?
> Like (define-public (stencil-whiteout-box stil . rest) ...)

Works but may end up in less readable code where "rest" is actually
being used.

> (2)
> The doc-string for `stencil-whiteout' implies that @var{thickness} is
> optional. As far as I understand it's not.

Should it be?  Would that have saved us from the error?

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to