On Thu, 4 Apr 2019 at 13:28, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > Is this the correct way to create a function alias in lilypond or there
> is
> > a shorter/better way?
> >
> > \version "2.21.0"
> > extremelyLongNameFunction =
> > #(define-music-function (music) (ly:music?)
> >
Gianmaria Lari writes:
> Is this the correct way to create a function alias in lilypond or there is
> a shorter/better way?
>
> \version "2.21.0"
> extremelyLongNameFunction =
> #(define-music-function (music) (ly:music?)
>(let ((varOne #{ a b b a #}))
> #{
>$varOne $music $varO
Hi Gianmaria,
Would this do?
\version "2.19.83"
extremelyLongNameFunction =
#(define-music-function (music) (ly:music?)
(let ((varOne #{ a b b a #}))
#{
$varOne $music $varOne
#}))
#(define anAlias extremelyLongNameFunction)
\anAlias { c c c c }
That's just Scheme coding,
On Thu, 4 Apr 2019 at 13:07, Andrew Bernard
wrote:
> Hi Gianmaria,
>
> Would this do?
>
> \version "2.19.83"
> extremelyLongNameFunction =
> #(define-music-function (music) (ly:music?)
>(let ((varOne #{ a b b a #}))
> #{
>$varOne $music $varOne
> #}))
>
>
> #(define anAlias
On Thu, 4 Apr 2019 at 11:28, Gianmaria Lari wrote:
> Is this the correct way to create a function alias in lilypond or there is
> a shorter/better way?
>
> \version "2.21.0"
> extremelyLongNameFunction =
> #(define-music-function (music) (ly:music?)
>(let ((varOne #{ a b b a #}))
> #{
>
Is this the correct way to create a function alias in lilypond or there is
a shorter/better way?
\version "2.21.0"
extremelyLongNameFunction =
#(define-music-function (music) (ly:music?)
(let ((varOne #{ a b b a #}))
#{
$varOne $music $varOne
#}))
alias =
#(define-music-funct