clojuredocs macro

72 views
Skip to first unread message

Dave Tenny

unread,
Jan 28, 2014, 10:04:13 AM1/28/14
to clo...@googlegroups.com
Does anybody happen to know where 'clojuredocs' is defined?  I grepped the clojure and leiningen git trees but the word didn't show up.

I noticed it mentioned in some leiningen tutorials and it's present in my REPL, in the user namespace.

clojuredocs
  is a clojure.lang.Symbol

  in namespace user:
    {:interns #'user/clojuredocs, :maps-to #'user/clojuredocs, :interns-publicly #'user/clojuredocs}

  #'user/clojuredocs
    is a clojure.lang.Var

    with metadata:
      :arglists ([v] [ns-str var-str])
      :ns #<Namespace user>
      :name clojuredocs
      :column 6300
      :macro true
      :line 1
      :file "NO_SOURCE_PATH"
      :doc
      Lazily checks if the clojuredocs client is available, and uses it to
        retrieve examples if it is.

    with value #<exports$lazy_clojuredocs reply.exports$lazy_clojuredocs@5ce9f026>
    of type reply.exports$lazy_clojuredocs

Andy Fingerhut

unread,
Jan 28, 2014, 10:34:03 AM1/28/14
to clo...@googlegroups.com
It is defined in the project 'reply', used by Leiningen for 'lein repl' tasks:

    https://github.com/trptcolin/reply

That in turn depends upon a cd-client library for sending requests to the clojuredocs.org web site and doing some parsing on the responses received:

    https://github.com/dakrone/clojuredocs-client

Andy


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Dave Tenny

unread,
Jan 28, 2014, 10:41:10 AM1/28/14
to clo...@googlegroups.com
Thank you.  

Is there some easy way I've missed to figure this sort of thing out in the future?




You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/gTwuGw1Ccuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.

Andy Fingerhut

unread,
Jan 28, 2014, 12:16:49 PM1/28/14
to clo...@googlegroups.com
I'm not sure wether it is easy, but the 'reply' namespace was in one of the symbols in your original email, and Leiningen's project.clj file lists its dependencies, which include reply.

Andy
Reply all
Reply to author
Forward
0 new messages