On Wed, Oct 27, 2010 at 7:53 AM, Sunil S Nandihalli <
[email protected]> wrote:

> Hello everybody,
>
> I would like to do something like the following ..
>
>  (->> "create" clojure.repl/apropos (map doc))
>
> but I can't do it since doc is a macro and not a function.. how would one
> wrap doc with a function so that it can be used in the above example.
>

It's a bit evil, but this works:

#(eval `(doc ~%)))

-- 
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

Reply via email to