[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: |
Simon Albrecht |
Subject: |
Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed" |
Date: |
Tue, 20 Feb 2018 20:20:19 +0100 |
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