#7842: Let attrcall objects accept further arguments
---------------------------+------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3.1
Component: misc | Keywords: attrcall
Work_issues: | Author: Nicolas M. ThiƩry
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Comment(by nthiery):
Replying to [comment:2 mhansen]:
> Another nice thing to have now that I think about it would be this
syntax:
>
> {{{
> sage: xseries = attrcall.series(x)
> sage: xseries(sin(x), 4)
> 1*x + (-1/6)*x^3 + Order(x^4)
> }}}
Your point is that this syntax gives a better visual hint about this being
about method calls, right? So here, attrcall would be some sort of dummy
object placeholder? Why not. Though I am a bit reluctant with having two
syntaxes.
> I'll make a new ticket for this so that that it'll backward-compatible
with the old version.
Do you mind reviewing this first, so that we can get #7753 in?
I'll review your patch in return :-)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7842#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.