proposal concerning conflicts between nset and other stuff in Maxima



Hello, to resolve conflicts between nset and existing stuff,
I have the following recommendations --

(1) Move src/flatten.lisp to share/algebra/charsets/.
    ($flatten is the only Maxima function defined in flatten.lisp.)

(2) Cut $every from src/mutils.lisp and paste it into 
    share/algebra/charsets/flatten.lisp 
    (I guess pasting it into share/algebra/charsets/set.lisp
    would work just as well.)

Neither $flatten nor $every is called from anywhere in src/.

I think that these two changes are enough to resolve the
conflicts between nset and existing stuff, based on the
search which I made before, which is quoted below.

Comments?

For what it's worth,
Robert Dodier

PS. The search for conflicts yielded the following:

> >   Maxima functions defined in nset --
> >     $emptyp also defined in src/powers.lisp
> >     $flatten also defined in src/flatten.lisp
> >     $every also defined in src/mutils.lisp
> > 
> >   Lisp functions defined in nset --
> >     (no conflicts found)
> > 
> >   Macros defined in nset --
> >     while also defined in src/cl-info.lisp
> 
> I have looked for use of these functions in share/.
> Aside from instances of $emptyp, $flatten, and $every in nset,
> I find these. I have attempted to make this list comprehensive.
> 
>   emptyp:
>     defined in algebra/charsets/set.lisp
>     called from algebra/charsets/set.lisp
> 
>   flatten:
>     called from algebra/charsets/charsets.mac
> 
>     defined in algebra/solver/slvrtbox.mac (as Flatten)
>     called from algebra/solver/slvrtbox.mac (as Flatten)
>     called from algebra/solver/solver.mac (as Flatten)
> 
>   every:
>      called from algebra/charsets/charsets.mac
> 
>   while:
>      defined in affine/aquotient.lisp
>      called in affine/aquotient.lisp
> 
>      defined in affine/dim-3.lisp
>      called in affine/dim-3.lisp
> 
>      defined in contrib/gentran/convmac.lisp (as a function)
>      called in contrib/gentran/fdata.lisp
>      called in contrib/gentran/global.lisp
>      called in contrib/gentran/intrfc.lisp
>      called in contrib/gentran/lspc.lisp
>      called in contrib/gentran/lspfor.lisp
>      called in contrib/gentran/lsprat.lisp
>      called in contrib/gentran/segmnt.lisp
>      called in contrib/gentran/templt.lisp
> 
> 
> I hope this list can help us decide what to do.
> 
> For what it's worth,
> Robert Dodier



		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo