<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 12:20:20 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-463/CLJ-463.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-463] Strip leading colons when creating keywords from single strings</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-463</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;This seems unfortunate:&lt;/p&gt;

&lt;p&gt;=&amp;gt; (-&amp;gt; :foo str keyword)&lt;br/&gt;
::foo&lt;/p&gt;

&lt;p&gt;Symbols are far saner in this regard:&lt;/p&gt;

&lt;p&gt;=&amp;gt; (-&amp;gt; &apos;foo str symbol)&lt;br/&gt;
foo&lt;/p&gt;

&lt;p&gt;Simply stripping leading colons from strings prior to turning them into keywords should suffice. The 2-arity Keyword.intern method and clojure.core/keyword fn should be left intact, so as to provide an escape hatch for those that really do need colon-prefixed keywords.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13860">CLJ-463</key>
            <summary>Strip leading colons when creating keywords from single strings</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                        <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="-1">None</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Oct 2010 04:41:00 -0500</created>
                <updated>Fri, 19 Nov 2010 10:07:07 -0600</updated>
                    <resolved>Fri, 19 Nov 2010 10:07:06 -0600</resolved>
                                            <fixVersion>Backlog</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="24315" author="importer" created="Wed, 20 Oct 2010 04:44:00 -0500"  >&lt;p&gt;Converted from &lt;a href=&quot;http://www.assembla.com/spaces/clojure/tickets/463&quot;&gt;http://www.assembla.com/spaces/clojure/tickets/463&lt;/a&gt;&lt;br/&gt;
Attachments:&lt;br/&gt;
463-strip-keyword-colons.diff - &lt;a href=&quot;https://www.assembla.com/spaces/clojure/documents/bKmJCu2_Wr36meeJe5cbLA/download/bKmJCu2_Wr36meeJe5cbLA&quot;&gt;https://www.assembla.com/spaces/clojure/documents/bKmJCu2_Wr36meeJe5cbLA/download/bKmJCu2_Wr36meeJe5cbLA&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="24316" author="importer" created="Wed, 20 Oct 2010 04:44:00 -0500"  >&lt;p&gt;cemerick said: [&lt;a href=&quot;file:bKmJCu2_Wr36meeJe5cbLA&quot;&gt;file:bKmJCu2_Wr36meeJe5cbLA&lt;/a&gt;]&lt;/p&gt;</comment>
                    <comment id="25887" author="stu" created="Fri, 29 Oct 2010 10:00:11 -0500"  >&lt;p&gt;I am uncomfortable with this. If I say (keyword &quot;::foo&quot;), what am I asking for? I almost wonder if this should throw an exception.&lt;/p&gt;</comment>
                    <comment id="25888" author="richhickey" created="Fri, 29 Oct 2010 10:07:09 -0500"  >&lt;p&gt;I think (keyword &quot;::foo&quot;) (and any more leading colons) should fail, and this patch should only strip one colon.&lt;/p&gt;</comment>
                    <comment id="25894" author="cemerick" created="Fri, 29 Oct 2010 11:11:52 -0500"  >&lt;p&gt;Updated patch forthcoming.&lt;/p&gt;</comment>
                    <comment id="25947" author="cemerick" created="Fri, 19 Nov 2010 10:07:06 -0600"  >&lt;p&gt;After thinking about this for a while, I&apos;ve now reversed my position, and am in favor or retaining the current functionality.  Thanks for the pushback.&lt;/p&gt;

&lt;p&gt;As for throwing exceptions on colon-prefixed, un-namespaced keywords, I&apos;m not certain that that&apos;s a good idea.  People use keywords to hold all sorts of data, use them as map keys and lookup fns, etc.&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>