Then that sounds like another Python syntax error we could make available. Not sure we'd want to, though.
- kcrisman > > for those coming from Maple. What does Mathematica do for such > > anonymous functions (if anything)? > > #^2+1 & (note the & is important; it says what comes before is an > anonymous function). > > Or: > > #1^2+#2^3 & (meaning lambda x,y: x^2+y^2). #n means the nth parameter. > > See the bottom > ofhttp://reference.wolfram.com/mathematica/tutorial/PureFunctions.html > > Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org