@borkdude are you using babashka for ‘doc string of the day’ ? I was trying the simple clj -e "(doc first)"
and it didn’t work 😞
@pradeep.bishnoi I am :)
#!/usr/bin/env bb
(require '[clojure.repl])
(defmacro random-doc []
(let [sym (-> (ns-publics 'clojure.core) keys rand-nth)]
(if (:doc (meta (resolve sym)))
`(clojure.repl/doc ~sym)
`(random-doc))))
(random-doc)
awesome.
and thanks for passing it.