Currently there exists Lambda,  which supports modeling a single expression 
( and lambdify, which converts a single expression to Python).  It would be 
useful to have something similar for a sequence of statements.  This is 
called a 'procedure' in Cohen's book (Computer Algebra and Symbol 
Computation), and I like the name to clearly distinguish it from a 
function.  Does this exist in Sympy?

One prerequisite for a Procedure class would an assignment statement.  It 
is easy enough to extend the Relational class to support assignment, but 
I'm not sure this is logically the right place to put it?

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/1a65b6ce-26dc-49c8-8307-f0153de49dba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to