Hi all:

How do you retrieve the name of a callable symbolic function as a
string?  For instance, suppose you have

sage: f= function('hello',x)

and you want to retrieve 'hello' from f.

sage: str(f)
'\n                                   hello(x)'

followed by stripping away the extra characters works, but is there a
more direct approach?

Alex
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to