On Fri, Jan 16, 2009 at 3:41 PM, Michael Reid <[email protected]> wrote:
>
>> Is there anyway to write a macro/function that acts as a function when
>> necessary (so it can be passed as an argument), but expands into a
>> macro (for speed) when deemed possible?
>
> I don't think this is possible without some sort of support for a
> macro/function duality in core Clojure.

Which is one way to describe what's provided by definline.  It's
marked experimental, has an unusual format and proviso's, but it's
there get a blend of macro performance and function first-classness.

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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