What would you do with doc-fn?

I think this is a reasonable enhancement request but backing it up with a 
use case would help a lot (presuming you wanted to file a jira).

On Thursday, October 1, 2015 at 5:58:26 AM UTC-4, Terje Dahl wrote:
>
> Would it be possible to "break out" the functionality of the function 
> "doc" into a second function named i.e. "doc-fn" - much as has been done 
> with dir vs dir-fn?
>
> doc prints to *out* just like dir does.
> But dir-fn allows me to parse the output and use it as I need.
> I would like the same for doc(-fn)
>
> Right now I have simply duplicated special-doc-map, special-doc, and doc 
> into my own code, and simply replaced "print-doc" with "identity".
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to