Not sure it covers what you're asking for, but if you want to manually step through your function calls, you can use syntax-quote, provided that you have access to the spurce code of the functions you want to step through.
Or you can try the debuggers in Clojure-enabled IDEs like Eclipse and IntelliJ. On Monday, 25 November 2013, John D. Hume wrote: > You won't find the results as easy to read as what you're asking for, but > clojure.tools.analyzer will show you calls that have been inlined by the > compiler. > On Nov 25, 2013 2:24 PM, "Andy Smith" <the4thamig...@googlemail.com> > wrote: > > In your example a full expansion might be : (. clojure.lang.Numbers (add > 10 1)) > > > On Monday, 25 November 2013 17:16:42 UTC, Guru Devanla wrote: > > Hi Andy, > > Not sure what you need in terms of function calls being expanded. Can you > provide an example. > > Here is an silly example, even though this kind of macro is not needed: > > (def addone [v] > (+ v 1) > > (defmacro testmacro [init] > (list 'addone init)) > > (macroexpand '(testmacro 10)) > > expands to > > (addone 10) > > Thanks > Guru > > > On Mon, Nov 25, 2013 at 6:32 AM, Andy Smith <the4th...@googlemail.com>wrote: > > It doesnt seem to expand function calls though right? > > > On Monday, 25 November 2013 12:55:27 UTC, Andy Smith wrote: > > Hi, > > I am new to clojure and I was wondering if there is a macro I can use to > fully expand all symbols and macros in a form, without performing the final > evaluation of the built in functions? > > Thanks > > Andy > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clo...@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+u...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+u...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.