I don't see any difference to checking for a number either. Thus "distinguish" feels strange. ...
4 years, 3 months ago
(2020-01-26 10:45:11 UTC)
#2
I don't see any difference to checking for a number either. Thus "distinguish"
feels strange.
Ofcourse it's a predicate, thus
LGTM
Thanks! You can't be motivated to go through the other doc-strings listed in IR
4. Scheme functions ?
:)
On 2020/01/26 10:45:11, thomasmorley651 wrote: > I don't see any difference to checking for a ...
4 years, 3 months ago
(2020-01-26 11:49:32 UTC)
#3
On 2020/01/26 10:45:11, thomasmorley651 wrote:
> I don't see any difference to checking for a number either. Thus "distinguish"
> feels strange.
There was a time when music function predicates determined syntactic decisions
based on what function they pointed to rather than what they evaluated to. So
people were confused why their user-defined functions, say, number-or-string? ,
did not admit either numbers or strings syntactically.
ly:dimension? never made it to special status in the parser. In olden times
that would mean that when using it as a music function argument, the respective
number could not be entered as a plain number but would always have to be
preceded with # . This kind of predicate aliasing serves almost no point any
more (markup? and markup-list? in markups are still treated in that manner,
though).
> Ofcourse it's a predicate, thus
> LGTM
>
> Thanks! You can't be motivated to go through the other doc-strings listed in
IR
> 4. Scheme functions ?
> :)
Issue 547470049: Doc: Corrected doc string for ly:dimension?
Created 4 years, 3 months ago by davidsg
Modified 4 years, 3 months ago
Reviewers: thomasmorley651, dak
Base URL:
Comments: 0