One of the things that drew me to Clojure was the fact that it's
homoiconic (and my previous lisp [Scheme] was not necessarily), which
means code is data, macro writing is easy etc. etc.

What I'm missing is why I can't print a function.  I understand that
most of the functions I write use quite a few macros, and after
expansion into the core forms it looks shredded...but isn't there any
way for me to see a representation of this "source" after a function
has been compiled?

For instance,

(def a #(+ %1 %2))
#'user/a
a
#<user$a__3 user$a...@a141e>

Isn't there any way for me to get something like

(deep-print a)
(fn [arg1 arg2] (*built-in-+* arg1 arg2))

or whatever that anonymous lambda would actually evaluate to?

Any tips greatly appreciated!
Mike

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to