choicesin in sin.lisp



On 3/18/10 1:40 PM, Andreas Eder wrote:
> Hi,
>
> does anyone know why there is choicesin in sin.lisp?
> It is used only there, and apart from the apparent stack overflow
> (choicesin  a b) seems to be equivalent to  (remove a b :count 1).
>
> Is anyone opposed to replacing it?
>   
Given the experience Dieter had with one file where changes shouldn't
have had any affect but did, perhaps we can leave choicesin but replace
the body with remove.

But I note that choicesin and remove are not exactly the same. 
(choicesin 1 (list 1 2 3)) returns a list which is EQ to the CDR of the
second arg.  REMOVE doesn't, at least on cmucl.  Don't know if that
matters or not.

Ray