<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/clojure/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/clojure/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/clojure/bugs/</id><updated>2008-04-13T01:14:56Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>-XstartOnFirstThread causes silent exit.</title><link href="https://sourceforge.net/p/clojure/bugs/2/" rel="alternate"/><published>2008-04-13T01:14:56Z</published><updated>2008-04-13T01:14:56Z</updated><author><name>McQ</name><uri>https://sourceforge.net/u/themcq/</uri></author><id>https://sourceforge.net784e34e98cace13207b897f7a02cff07340214ec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was hoping to use Clojure to develop SWT applications on the Mac.&lt;/p&gt;
&lt;p&gt;On the Mac, the SWT Display has to be created on the first thread, and in the Mac version of Java this can be forced using the "-XstartOnFirstThread" command line option.&lt;/p&gt;
&lt;p&gt;Unfortunately, running...&lt;br /&gt;
java -XstartOnFirstThread -cp clojure.jar clojure.lang.Repl&lt;br /&gt;
... seems to simply return to the command prompt.&lt;/p&gt;
&lt;p&gt;Note that running...&lt;br /&gt;
java -cp clojure.jar clojure.lang.Repl&lt;br /&gt;
... does start a REPL as expected.&lt;/p&gt;
&lt;p&gt;(I have been able to use SISC to develop SWT applications, by adding -XstartOnFirstThread. It's not clear why this fails in Clojure.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>doc strings consistent naming (e.g., "doseq")</title><link href="https://sourceforge.net/p/clojure/bugs/1/" rel="alternate"/><published>2008-02-27T16:17:42Z</published><updated>2008-02-27T16:17:42Z</updated><author><name>Stephen C. Gilardi</name><uri>https://sourceforge.net/u/squeegee/</uri></author><id>https://sourceforge.nete16d74a927ea3a5d67aff1535bd87e91f27850de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Doc strings should use names that are consistent with argument lists.  As an example, here are the docs for "doseq" in SVN 702:&lt;/p&gt;
&lt;p&gt;user=&amp;gt; (doc doseq)&lt;br /&gt;
-------------------------&lt;br /&gt;
clojure/doseq&lt;br /&gt;
([item list &amp;amp; body])&lt;br /&gt;
Macro&lt;br /&gt;
Repeatedly executes body (presumably for side-effects) with binding-form bound to successive items from coll.&lt;br /&gt;
Does not retain the head of the sequence. Returns nil.&lt;br /&gt;
nil&lt;br /&gt;
user=&amp;gt; &lt;/p&gt;
&lt;p&gt;The arguments refer to "item" and "list", the docs refer to "binding-form" and "coll".  These should be brought into line in this case and in any other cases where they're not in agreement.&lt;/p&gt;
&lt;p&gt;One might also consider a convention (as in emacs) where words that represent literals are distinguished somehow (as in all-caps) so they can be represented in some special way (as in italics) when the doc string is presented by a pretty printer.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;user=&amp;gt; (doc doseq)&lt;br /&gt;
-------------------------&lt;br /&gt;
clojure/doseq&lt;br /&gt;
([item coll &amp;amp; body])&lt;br /&gt;
Macro&lt;br /&gt;
Repeatedly executes BODY (presumably for side-effects) with ITEM bound to successive items from COLL.&lt;br /&gt;
Does not retain the head of COLL. Returns nil.&lt;br /&gt;
nil&lt;br /&gt;
user=&amp;gt; &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>