On 21 February 2010 22:22, David Roe <r...@math.harvard.edu> wrote:
> I think that the reason for having mod behave the way it does is that the
> percent operator is defined by __mod__.
>
> Personally, I have no strong preference as to whether a.mod(b) behaves like
> a % b (ie a.__mod__(b)) or like mod(a, b).
> David

Perhaps we should have a different way of constructing elements of
Z/nZ?  Of course there is Integers(n)(m).  What about Mod(m,n) with a
capital M?

John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to