Given a simple tcl proc like
proc foo {a b} {puts "$a $b"}
What tcl command can I use to print out the procedure foo ... that is I want the TEXT of the proc back ...
For instance:
% proc foo {a b} {puts "$a $b"} % foo a b a b
% puts $foo can't read "foo": no such variable
... um how do I get "foo {a b} {puts "$a $b"}" back?
Thx