Hi List,
as far as I understand, property lists in PicoLisp are kind of reversed:
,--
| ((val1 . key1)(val2 . key2) ...(valN . keyN))
`--
while association lists are not.
But what are the other difference
Hi Thorsten,
> as far as I understand, property lists in PicoLisp are kind of reversed:
>
> ,--
> | ((val1 . key1)(val2 . key2) ...(valN . keyN))
> `--
Correct. The value of a property is in the CAR of the co
Alexander Burger writes:
Hi Alex,
> Correct. The value of a property is in the CAR of the corresponding
> cell, to allow it to be treated as a 'var' and thus be passed to
> place-modifying functions ('push', 'set', 'inc' etc.).
>
> This can be done with the 'prop' and '::' functions. For example