Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Stefano Troncaro
That fixes it, thank you everyone! I'll have to spend some time with that Lilypond Scheme Book, it looks like it will save me a lot of time and confusion. I wish I had found about it earlier. Also, I didn't know that for-each could iterate through many lists in parallel, that's actually very

Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Thomas Morley
Hi Stefano, others already commented about quote/unquote. Some other remark: 2018-02-20 18:55 GMT+01:00 Stefano Troncaro : > Hello everyone! > > I recently wrote the function bellow to be able to set the direction of ties > in a TieColumn by specifying a list of

Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Urs Liska
Am 20. Februar 2018 20:20:19 MEZ schrieb Simon Albrecht : >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'

Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Simon Albrecht
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