lilypond-user
[Top][All Lists]
Advanced

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

Re: Naming question: \function


From: Carl Sorensen
Subject: Re: Naming question: \function
Date: Wed, 8 Jul 2020 09:35:50 -0600



On Tue, Jul 7, 2020 at 11:48 PM Urs Liska <lists@openlilylib.org> wrote:
Hi all,

I've started working on a package for displaying harmonic analysis
symbols. In the submodule for functional analysis I have (using the
original code of Malte Meyn) the main command \function, which gives
very obvious code like

  \function (D_3-7)=>

(for an intermediate dominant seventh with the "3" in bass position).

What do you guys here think: Could the use of "function" as a command
name lead a) to confusion by people mistaking it as a language keyword
or b) to issues down the road if at some point one might want to create
a core LilyPond procedure with that name?

I think that \function is *not* a good name.  It's too general.

An adjective added to it might resolve the problem.

\harmonic_function
\analysis_function
\chord_function
\structure_function
\label_function

HTH,

Carl


reply via email to

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