This is just a question mostly for Jason and William, who have both been
reimplementing interacts.
Could the following syntax be (fruitfully) made to work?
@interact
def _(x,y=2,1):
x,y=x*x+3*y*y,x*y+y*x
html("$%s^2-3\cdot%s^2=%s$"%(x,y,x^2-3*y^2))
It seems very "Pythonic" in some ways but I assume that Python functions in
general don't accept this, so probably it's a bad idea to try to hack it
in. But I thought I'd put it out there and risk the ridicule :)
- kcrisman
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.