#17958: implement declare_var, deprecate (None)var
-----------------------------+------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.6
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------+------------------------
Comment (by kcrisman):
> How about
> {{{
> sage: var a, b
> }}}
Something along these lines would MASSIVELY help with this issue. As long
as we have to declare variables anyway, we should at least make it easy to
do so, and the syntax currently is kind of hard to type
{{{
var('z,y')
}}}
(try this on a qwerty board slowly to see all the unusual movements due to
the shifts and non-home row things) so it would definitely be so for a
beginner.
As long as there is a LONG deprecation period for this (as it's likely to
bite quite a few people who wouldn't upgrade very frequently) something
along these lines seems fine, return value `None` or whatever seems
appropriate. It would also be great to have `%var` eventually since SMC
does but that could be a different ticket as long as there is a good
deprecation period to `var('a')`.
--
Ticket URL: <http://trac.sagemath.org/ticket/17958#comment:51>
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 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-trac.
For more options, visit https://groups.google.com/d/optout.