On 5/17/07, Michel <[EMAIL PROTECTED]> wrote: > > I am not so sure. Moving it up to Element means that it shows up in > > tab-completion (polluting the method list) even though it is not supported > > for most Elements. > > > > Martin > > > You could say it is supported on all elements. It just returns self if > there is no substitution to > be done: > sage: 5.subs(y=10) > 5 > > This is precisely what would happen in 5 came from maxima > (maxima('5')).
I agree. Also, if you think about it there are a huge number of different elements that do support some sort of notion of substitution. I think Michel's suggestion is pretty good. -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---