Re: Assign a list as symbols property list
Hi Thorsten, When I already have property list like ,-- | ((key1 . value1) (key2 . value2) ... (keyn . valuen)) `-- Note that the list has the cons pair elements reversed: ((value1 . key1) (value2 . key2) ... (valuen . keyn)) and want to assign the whole thing as a symbols property list - how do I do that (without setting every single key/value pair with 'put')? This can be done with 'putl'. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Assign a list as symbols property list
Alexander Burger a...@software-lab.de writes: Hi Alex, When I already have property list like ,-- | ((key1 . value1) (key2 . value2) ... (keyn . valuen)) `-- Note that the list has the cons pair elements reversed: ((value1 . key1) (value2 . key2) ... (valuen . keyn)) I see, fortunately my real list has the right order ... and want to assign the whole thing as a symbols property list - how do I do that (without setting every single key/value pair with 'put')? This can be done with 'putl'. I knew that there must be a function for this ... thanks -- cheers, Thorsten -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Assign a list as symbols property list
Hi List, probably a rather newbie question: When I already have property list like ,-- | ((key1 . value1) (key2 . value2) ... (keyn . valuen)) `-- and want to assign the whole thing as a symbols property list - how do I do that (without setting every single key/value pair with 'put')? -- cheers, Thorsten -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe