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 <[email protected]>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 [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> 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
> ---
> 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 [email protected].
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.