Take a look at tools.macro/macrolet.

https://github.com/clojure/tools.macro/

Regards,
BG

Sent from phone. Please excuse brevity.
On 6 Nov 2012 19:10, "Sean Neilan" <s...@seanneilan.com> wrote:

> I was hoping to write a macro inside of a let statement. The macro would
> be returned from the let and keep closures to whatever was defined in the
> let.
> Also, if possible, define multiple global macros inside of a let statement
> so it's as if the let is returning multiple values.
>
>
>
> On Tue, Nov 6, 2012 at 9:07 PM, jaime <xiejianm...@gmail.com> wrote:
>
>> May I know in what circumstances would an anonymous macro be applied? - I
>> just don't think there's a way to define anonymous macro but maybe we can
>> make a workaround by manipulating the macro syntax...
>>
>> 在 2012年11月7日星期三UTC+8上午8时17分37秒,Sean Neilan写道:
>>
>>> Is there any way to write an anonymous macro in Clojure?
>>>
>>> This post:
>>> http://stackoverflow.com/**questions/4074961/anonymous-**
>>> macros-in-clojure<http://stackoverflow.com/questions/4074961/anonymous-macros-in-clojure>
>>> says it's possible with some hacks and in version 1.3 Clojure will have
>>> some kind of support for this.
>>>
>>> Thank you for your time.
>>>
>>> -Sean
>>>
>>>  --
>> 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 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 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