Hi List,
maybe a rather newbie question, but I wonder if it is possible to
1. get a nested list representation of an object or class?
2. to turn a nested list that resembles the 'nested list representation an
object or class' into a new object (or class) without using PicoLisp's
Hi Thorsten,
1. get a nested list representation of an object or class?
(cons (val Obj) (getl Obj))
2. to turn a nested list that resembles the 'nested list representation an
object or class' into a new object (or class) without using PicoLisp's
With 'set' and 'putl', e.g.
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
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
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.