<!-- 
RSS generated by JIRA (4.4#649-r158309) at Mon May 20 17:14:52 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-879/CLJ-879.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-879] Allow :require to support a :refer clause</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-879</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;There&apos;s been discussion previously about the complexity of the ns&lt;br/&gt;
macro. In particular the fact that :use causes all vars to be referred&lt;br/&gt;
by default is widely seen as unfortunate, and the distinction between&lt;br/&gt;
use and require is a source of conceptual overhead for people new to&lt;br/&gt;
the language.&lt;/p&gt;

&lt;p&gt;We can&apos;t change the fact that :use refers everything by default&lt;br/&gt;
without breaking lots of existing code. But it would be possible to&lt;br/&gt;
enhance :require to support referring specified vars, leaving us free&lt;br/&gt;
to deprecate or otherwise discourage the use of :use.&lt;/p&gt;

&lt;p&gt;Clojure-dev thread discussing this: &lt;a href=&quot;http://groups.google.com/group/clojure-dev/browse_thread/thread/91b708ddb909affd&quot;&gt;http://groups.google.com/group/clojure-dev/browse_thread/thread/91b708ddb909affd&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15015">CLJ-879</key>
            <summary>Allow :require to support a :refer clause</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="technomancy">Phil Hagelberg</assignee>
                                <reporter username="technomancy">Phil Hagelberg</reporter>
                        <labels>
                        <label>patch,</label>
                        <label>test</label>
                    </labels>
                <created>Thu, 17 Nov 2011 16:08:40 -0600</created>
                <updated>Fri, 17 Feb 2012 14:18:28 -0600</updated>
                    <resolved>Fri, 17 Feb 2012 14:18:28 -0600</resolved>
                                                                    <due></due>
                    <votes>9</votes>
                        <watches>7</watches>
                        <comments>
                    <comment id="27345" author="technomancy" created="Fri, 25 Nov 2011 14:52:12 -0600"  >&lt;p&gt;Patch containing implementation, test, and documentation.&lt;/p&gt;</comment>
                    <comment id="27515" author="technomancy" created="Fri, 6 Jan 2012 14:21:19 -0600"  >&lt;p&gt;Any chance we could get some discussion going on this?&lt;/p&gt;</comment>
                    <comment id="27565" author="devinus" created="Sat, 14 Jan 2012 01:12:29 -0600"  >&lt;p&gt;I&apos;d love to see this discussed.&lt;/p&gt;</comment>
                    <comment id="27631" author="technomancy" created="Fri, 27 Jan 2012 16:42:51 -0600"  >&lt;p&gt;So... how about it? Thoughts?&lt;/p&gt;</comment>
                    <comment id="27740" author="hiredman" created="Fri, 17 Feb 2012 11:30:50 -0600"  >&lt;p&gt;patch still applies cleanly to master, tests pass&lt;/p&gt;

&lt;p&gt;there is a warning when you run the tests though:&lt;/p&gt;

&lt;p&gt;     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; Testing clojure.test-clojure.keywords&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; &lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; Testing clojure.test-clojure.load&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; WARNING: with-bindings already refers to: #&apos;clojure.core/with-bindings in namespace: clojure.test-clojure.require-scratch, being replaced by: #&apos;clojure.main/with-bindings&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; &lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; Testing clojure.test-clojure.logic&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; &lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; Testing clojure.test-clojure.macros&lt;/p&gt;</comment>
                    <comment id="27743" author="stuart.sierra" created="Fri, 17 Feb 2012 13:36:58 -0600"  >&lt;p&gt;Vetted. Patch is good, although it needs docstring updates in &apos;require&apos;&lt;/p&gt;</comment>
                    <comment id="27745" author="stuart.sierra" created="Fri, 17 Feb 2012 13:55:39 -0600"  >&lt;p&gt;Not Vetted. I can&apos;t remember what the names mean. Ready for Rich. That&apos;s &quot;Test&quot; right?&lt;/p&gt;</comment>
                    <comment id="27747" author="stuart.sierra" created="Fri, 17 Feb 2012 13:59:22 -0600"  >&lt;p&gt;My mistake. The docstring is included in &apos;require&apos;, but not in &apos;refer&apos;, which also changed. But the &lt;b&gt;public API&lt;/b&gt; of &apos;refer&apos; did not change. So this patch is good.&lt;/p&gt;</comment>
                    <comment id="27748" author="stuart.sierra" created="Fri, 17 Feb 2012 14:08:55 -0600"  >&lt;p&gt;Not &quot;Test.&quot; Screened. The patch is Screened. I hate this.&lt;/p&gt;</comment>
                    <comment id="27751" author="stuart.sierra" created="Fri, 17 Feb 2012 14:18:28 -0600"  >&lt;p&gt;Patch applied.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10716" name="0001-Allow-require-to-take-a-refer-option.patch" size="3422" author="technomancy" created="Fri, 25 Nov 2011 14:52:12 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10007">Ok</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>