Re: [alexandria-devel] flatten depth param

2013-02-23 Thread Robert Smith
Hello: I've created a patch for this. The only difference is that instead of flattening to a particular depth, it flattens by a particular number of levels. I thought this was more in the spirit of FLATTEN. If we want to flatten to a particular depth, it is a trivial computation. I've attached a

Re: [alexandria-devel] Implementation of DELETE-FROM-PLIST

2013-02-23 Thread Robert Smith
How is (:A 1 :D 4) wrong? There is no way to get it to just (:D 4) via mutation when passing to a function. If we want to have just (:D 4), we will need to either pass in (nil nil plist) which will give (nil nil :D 4) or we will need to encapsulate or box the value before going in, by using

Re: [alexandria-devel] Implementation of DELETE-FROM-PLIST

2013-02-23 Thread Robert Smith
On Sat, Feb 23, 2013 at 4:19 PM, Stas Boukarev stass...@gmail.com wrote: It's wrong because it's completely useless, why would anyone use delete-from-plist without using the value returned by it, if the original list it modifies has the wrong result? Having to prepend two NILs is just bogus.

Re: [alexandria-devel] Implementation of DELETE-FROM-PLIST

2013-02-23 Thread Stas Boukarev
Robert Smith q...@symbo1ics.com writes: On Sat, Feb 23, 2013 at 4:19 PM, Stas Boukarev stass...@gmail.com wrote: It's wrong because it's completely useless, why would anyone use delete-from-plist without using the value returned by it, if the original list it modifies has the wrong result?