I work using a visual programming environment for CL-based music composition. I am trying to create a function that, if given, 3 elements (1 2 3) will return 1, 2, 3, 1, 2, 3, etc., One number each time for each evaluation. Common Lisp's book "Gentle Introduction" briefly mentions that you can create circular lists using clear notation, but not go into details about how to use them. Keep in mind that I can insert the actual Lisp code into the program using a specially designed object for this.
lisp circular-list common-lisp
Federico Bonacossa May 21 '13 at 19:54 2013-05-21 19:54
source share