lilypond-user
[Top][All Lists]
Advanced

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

Re: adding a markup ("sim.") to the end of a SustainPedalBracket


From: David Kastrup
Subject: Re: adding a markup ("sim.") to the end of a SustainPedalBracket
Date: Mon, 28 Dec 2015 01:25:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Thomas Morley <address@hidden> 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



reply via email to

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