Are circular list possible?

Started by ecaftihs, October 14, 2004, 11:45:40 AM

Previous topic - Next topic

ecaftihs

I was just wondering if circular lists are possible in newLisp.



Ecaftihs

Lutz

#1
There are no circular lists in newLISP. But there is a 'rotate' function, which might help you, and there is the possibility of negative indexing, counting from the right.



Lutz



ps: corrected 'now' to 'no'

ecaftihs

#2
How, I just cannot figure out how to do it and can't find documentation about it either.



Ecaftihs

Lutz

#3
hope this is what you are looking for?



http://newlisp.org/newlisp_manual.html#rotate">http://newlisp.org/newlisp_manual.html#rotate





Lutz

eddier

#4
Lutz,



Did you mean "no circular lists" instead of "now circular lists?"

Lutz

#5
Oops, yes of course: there are _no_ circular lists. I edited the post too.



Lutz