Bill Page wrote:
>
> On Wed, Sep 16, 2009 at 6:20 PM, Waldek Hebisch wrote:
> >
> > Concerning having the same name as OpenAxiom: AFAICS 'smaller?'
> > and 'before?' are different and have different names. ?I doubt
> > we gain much by making name the same.
> >
>
> Although the implementation is different as far as I can see the
> purpose in the existing code base is the same: to provide a standard
> (not necessarily "mathematical" ordering for all values in all (almost
> all?) domains. Is that not correct?
>
Well, 'Comparable' exists to limit number of domains which get
such ordering.
> Do you propose then, that we should not try to make it easy to write
> code that can be easily transported between FriCAS and OpenAxiom (and
> original Axiom)? Do we need to implement some kind of "compatibility
> layer" such as a 'Comparable' category for OpenAxiom and a 'before?'
> operator in FriCAS?
>
If your code cares about before?/smaller?, then it is likely to
care about Comparable.
Concerning moving code between FriCAS and OpenAxiom: if want to
move random piece of Spad code form one to the other and work
without any change, then forget it -- such degree of compatibility
would too strongly restrict developement.
If you want to do small number of changes to your Spad code, then
'before?/smaller?' should be less important than other differences.
Note: that just my opinion. In unlikely case that 'before?/smaller?'
really is more significant for real code then other problems, I will
not oppose changing name.
--
Waldek Hebisch
[email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---