On Friday 30 March 2007 01:24, Robert Bradshaw wrote:
> If we coerce from, say, R = QQ['x', 'y'] to S = QQ['y', 'x'] than R(f)
> (a,b) = S(f)(b,a) which I think could be confusing, so it might take  
> some convincing to make me think that coercing from R to S is a good  
> idea. For the strict subset case, the calling conventions will have a  
> different number of arguments, so it would be less  
> "surprising" (worst case an error rather than a bad result).

I agree with this objection.  I'm thinking of a case like QQ['x','y','n'] 
where n is some sort of parameter which you might commonly offset with a 
semi-colon on paper.  To let n somehow get put ahead of x and y is not good 
at all.  Now, my example might be a bad one since it would be strange to have 
this other parameter be just another variable in your polynomial.

In any case, I think that (artificial) parameter orders when given in a list 
must be respected.  I think it's only consistent with the way we always do 
function notation on paper.

--
Joel

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to