Jump to content

Remove Ties?

Recommended Posts

I wrote a function myself, not sure if it is acceptable for Janusz 🙂



(defun remove-tie (y)
  "tests if it is a single list or a list of lists,then remove ties"
(if (car (mapcar #'listp y))
 (loop for x in y
      for z = (remove 'tie x)
       for a = (remove 'tie+tie z)
      collect a) (remove 'tie+tie (remove 'tie y))))


Edit: I think this only removes ties between bars as I remember correctly..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use Privacy Policy