Mapping circular lists from Emacs Lisp to PicoLisp

2013-06-28 Thread Thorsten Jolitz
Hi List, I try to figure out if it would be possible to map circular lists from Emacs Lisp to PicoLisp. Here is a quote from the Emacs Lisp manual : #+begin_quote If the cdr of a list's last cons cell is some value other than nil, we call the structure a dotted list, since its printed

Re: Mapping circular lists from Emacs Lisp to PicoLisp

2013-06-28 Thread Alexander Burger
Hi Thorsten, In PicoLisp, the cdr of a circular list always seems to point to the beginning of the list. Yes, as far as the directy reader/printer syntax is concerned. But you can easily specify a list where the last cell points to some other cell. For example, in this list of 6 cells the

Re: Mapping circular lists from Emacs Lisp to PicoLisp

2013-06-28 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, In PicoLisp, the cdr of a circular list always seems to point to the beginning of the list. Yes, as far as the directy reader/printer syntax is concerned. But you can easily specify a list where the last cell points to some other cell.