I asked this on common lisp thread but I want to work with clojure as
well:

With clojure and I am assuming the introspection properties.  How
can I add code to clojure code that will tell me when a function
is called and when has finished executing.  I want to take any lisp
code and this particular modification to the code.  I figure with
lisp's AST analysis, this should be possible.

For example, pseudo code in common lisp, hello_world.lisp:

(defun hello-world ()
  (format t "Hello World"))

(hello-world)

---- And then I have a utility to load hello_world.lisp and execute
the hello-world call.

At the command line:
#Inspect: hello-world function was called
#Hello World
#Inspect: hello-world has finished executing.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to