我可以用来with-out-str
从(doc func)
.
=> (with-out-str (doc first))
"-------------------------\nclojure.core/first\n([coll])\n Returns the first item in the collection. Calls seq on its\n argument. If coll is nil, returns nil.\n"
但是,如果我尝试对一组函数做同样的事情,我只能为每个函数返回空字符串:
=> (map #(with-out-str (doc %)) [first rest])
("" "")
我在哪里错了?