Alexander Burger 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.
>
> For exam
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 la
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 represent
Alexander Burger writes:
[...]
Thanks Alex,
I have to experiment with this, it seems exactly what I need ... maybe I
will follow up to this post later. Its always amazing to see how
PicoLisp's fundamental simplicity makes stuff like this so easy.
--
cheers,
Thorsten
--
UNSUBSCRIBE: mailto:
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,
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
#+beg