<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue May 21 07:47:43 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-1035/CLJ-1035.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-1035] Remove the need to use &quot;:import&quot; of a record</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1035</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;Right now if I need to use a record defined in another name space, I need to do this:&lt;/p&gt;

&lt;p&gt;(ns myproj.test.xyz&lt;br/&gt;
  (:use &lt;span class=&quot;error&quot;&gt;&amp;#91;myproj.xyz&amp;#93;&lt;/span&gt;)&lt;br/&gt;
  (:import &lt;span class=&quot;error&quot;&gt;&amp;#91;myproj.xyz MyRecord&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;Hope we can remove the need of &quot;:import&quot; clause.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="15603">CLJ-1035</key>
            <summary>Remove the need to use &quot;:import&quot; of a record</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="wrn.lynn">Warren Lynn</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Jul 2012 13:46:18 -0500</created>
                <updated>Fri, 10 Aug 2012 14:19:55 -0500</updated>
                    <resolved>Fri, 10 Aug 2012 12:44:03 -0500</resolved>
                            <version>Release 1.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29100" author="stu" created="Fri, 10 Aug 2012 12:44:03 -0500"  >&lt;p&gt;Hi Warren,&lt;/p&gt;

&lt;p&gt;Importing a Java class and using a record are two logically distinct ideas, hence two separate steps in your code. Note that using a namespace makes the defrecord constructor fns (e.g. &lt;del&gt;&amp;gt;MyRecord and map&lt;/del&gt;&amp;gt;MyRecord) available without a second step.&lt;/p&gt;

&lt;p&gt;Please discuss ideas on the mailing list before using JIRA to make suggestions.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;</comment>
                    <comment id="29108" author="wrn.lynn" created="Fri, 10 Aug 2012 14:19:55 -0500"  >&lt;p&gt;Thanks for giving it a thought.&lt;/p&gt;

&lt;p&gt;I think it is conceptually simple/consistent to say &quot;if you use a namespace, then all the public symbols in that namespace is available without namespace qualification&quot;. It is unnecessary to remind people &quot;Hey, record is an &lt;b&gt;actually&lt;/b&gt; a Java class so the rules do not apply&quot;. I think it is the right choice for Clojure to integrate closely with the host language, but it is not the objective to expose the host details when not needed. If you say &quot;this is a compromise due to some implementation consideration&quot;, then I can understand. But I disagree with the rationale you mentioned. &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>