On Sep 17, 12:31 am, Jason Merrill <[EMAIL PROTECTED]> wrote:
> On Sep 16, 11:45 pm, Jason Merrill <[EMAIL PROTECTED]> wrote:
>
> > Can I ever get sage to print something like
>
> > sage: (x - x).some_devious_trick()
> > x - x
>
> Just wanted to develop this idea a little further.  Right now, pretty
> much everything has a ._repr_() that tells it how to be displayed.  If
> there's not already a .some_devious_trick(), why not call it .formal()
>
> sage: (x - x).formal()
> x - x

I've got a toy implementation of this.  Seemed like time to move it
over to sage-devel:

http://groups.google.com/group/sage-devel/browse_thread/thread/51aa3a53ae155dd3

JM
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to