Ambrose Bonnaire-Sergeant <abonnaireserge...@gmail.com> writes: Hi Ambrose,
>> > Ambrose has submitted a patch which I need to go over. Even so, I >> > don't think docstrings are going to help you that much. >> >> It doesn't teach you logic programming, but at least it could explain >> the arguments. Something like: >> >> (defmacro exist [[& x-rest] & g-rest] >> "Takes a vector of symbols that are provided as fresh vars in body." >> {:arglists '([[sym*] & body])} >> `(fn [a#] >> (inc >> (let [~@(lvar-binds x-rest)] >> (bind* a# ~@g-rest))))) >> >> > > Exactly the type of docstring we need. Thank you. If it's good, then it's only because of your tutorial is good. :-) > Here's the relevant Jira issue, feel free to voice your opinion. > > http://dev.clojure.org/jira/browse/LOGIC-10 I had a quick look at your patch but I'm not sure if all of them comply with the usual clojure conventions. For example, `lcons' doesn't read like a docstring for a function. (Just nitpicking, I know how hard it is to write good docstrings.) Bye, Tassilo -- 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