Hi,

I just noticed ipython doing:

In [4]: print f.series(x)
------> print(f.series(x))
1 - a*x + a**2*x**2 - a**3*x**3 + a**4*x**4 - a**5*x**5 + O(x**6)

and I like it, so it may be a nice idea for sage to be able to
optionally turn this on, so that it shows what the preparser is doing
to the expression. Currently one has to call preparse by hand. This
would print the "---->" only if the preparser changes the expression.

Then I can imagine even some even some wilder preparsing, like

2x+2y+x^3

as long as it behaves like this:

In [4]: 2x+2y+x^3
------> 2*x + 2*y + x**3
...

This wild preparsing should be off by default.

Ondrej

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

Reply via email to