Evaluated proc depends_list name { if {[isproc $name] == 0} {error {proc does not exist}}; set ok [split [string map {\{ { } \} { } [ { } ] { } \\ { }} [fourth [safesrc $name]]] { }]; set out [list]; foreach item $ok { if {[info proc $item] != ""} {lappend out $item} }; lnull [uniq $out] }