Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Waldek Hebisch
I wrote: > > Gabriel Dos Reis wrote: > > > > Waldek Hebisch writes: > > | > > | new : (NonNegativeInteger, S) -> % > > | > > | So the first argument to 'new' must be 'NonNegativeInteger' and the > > | second must be '%'. > > > > 1. new, expects its second *argument* to be of type %.

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Waldek Hebisch
Bill Page wrote: > > On Mon, Oct 24, 2011 at 1:02 PM, Gabriel Dos Reis wrote: > > > > There is nothing reasonable about it. =A0The way that most AXIOM compilers > > do overload resolution (even in faces of ambiguity) is to pick the first > > from a list that makes the compilation works, regardless

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Waldek Hebisch
Gabriel Dos Reis wrote: > > Waldek Hebisch writes: > > | Gabriel Dos Reis > | > > | > > | > Consider the definition of ModMonoid: > | > --8<---8<8<-- > | > )abbrev domain MODMON ModMonic > | > ++ Description: > | > ++ This pack

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Bill Page
On Mon, Oct 24, 2011 at 1:02 PM, Gabriel Dos Reis wrote: > ... > Waldek Hebisch writes: > | I would not call this voodoo: the compiler performs reasonable type > | inference. > > There is nothing reasonable about it.  The way that most AXIOM compilers > do overload resolution (even in faces of ambi

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Gabriel Dos Reis
Waldek Hebisch writes: | Gabriel Dos Reis | > | > | > Consider the definition of ModMonoid: | > --8<---8<8<-- | > )abbrev domain MODMON ModMonic | > ++ Description: | > ++ This package \undocumented | > | > ModMonic(R,Rep)

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Waldek Hebisch
Gabriel Dos Reis > > > Consider the definition of ModMonoid: > --8<---8<8<-- > )abbrev domain MODMON ModMonic > ++ Description: > ++ This package \undocumented > > ModMonic(R,Rep): C == T > > Its description does not have

Re: [open-axiom-devel] [fricas-devel] ModMonic and the Rep voodoo

2011-10-24 Thread Bill Page
On Mon, Oct 24, 2011 at 8:54 AM, Gabriel Dos Reis wrote: > ... > Now, consider the capsule-level variable "power".  It is declared as > >           power:PrimitiveArray(%) > > then later assigned to as > >           power := new(0,0) > > There are two lexical occurences of the literal '0' in there