Thanks Meikel..

so it looks like doc was written as a macro since they wanted to avoid
people having to quote the symbol when called from the repl.. or is there
any other reason also?

Sunil.

On Wed, Oct 27, 2010 at 5:28 PM, Meikel Brandmeyer <[email protected]> wrote:

> Hi,
>
> On 27 Okt., 13:53, Sunil S Nandihalli <[email protected]>
> wrote:
>
> > 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.
>
> You can't. You have to rewrite doc as a function.
>
> http://bitbucket.org/kotarak/vimclojure/src/tip/server/src/main/clojure/vimclojure/backend.clj#cl-31
>
> Sincerely
> Meikel
>
> --
> 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]<clojure%[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 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