alist vs plist in PicoLisp

2013-07-02 Thread Thorsten Jolitz
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

Re: alist vs plist in PicoLisp

2013-07-02 Thread Alexander Burger
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

Re: alist vs plist in PicoLisp

2013-07-02 Thread Thorsten Jolitz
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