[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About assigning a function to Tie.direction, and "warning: type chec
From: |
Urs Liska |
Subject: |
Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed" |
Date: |
Tue, 20 Feb 2018 20:33:10 +0100 |
User-agent: |
K-9 Mail for Android |
Am 20. Februar 2018 20:20:19 MEZ schrieb Simon Albrecht <address@hidden>:
>On 20.02.2018 18:55, Stefano Troncaro wrote:
>> \tieDirectionFromList #'(-1 1 -1)
>> %The following gives warning: type check for `direction' failed;
>value
>> `DOWN' must be of type `direction' %\tieDirectionFromList #'(DOWN UP
>DOWN)
>
>That’s a problem with quoting: try
>\tieDirectionFromList #(list DOWN UP DOWN)
>or, if you were to mix literals and variables,
>\tieDirectionFromList #`(-1 ,UP ,DOWN)
>
>Best, Simon
Maybe this is if some help: https://scheme-book.ursliska.de/scheme/quoting/
Urs
>
>_______________________________________________
>lilypond-user mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/lilypond-user