<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 21:25:29 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-826/CLJ-826.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-826] Include drop, take, butlast from clojure.contrib.string (1.2) in clojure.string 1.3</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-826</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;From clojure.contrib.string 1.2, I have found myself using drop, take,&lt;br/&gt;
and butlast. (These are more than just wrappers for String/substring,&lt;br/&gt;
because they behave nicely when indices exceed the string length.) I&lt;br/&gt;
like these methods in part because they match the behavior of&lt;br/&gt;
corresponding sequence methods, but have better performance. This&lt;br/&gt;
makes optimizing (when needed) easier. &lt;/p&gt;</description>
                <environment></environment>
            <key id="14571">CLJ-826</key>
            <summary>Include drop, take, butlast from clojure.contrib.string (1.2) in clojure.string 1.3</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="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="arthuredelstein">Arthur Edelstein</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Aug 2011 12:58:18 -0500</created>
                <updated>Fri, 2 Dec 2011 09:14:37 -0600</updated>
                    <resolved>Fri, 2 Dec 2011 09:14:37 -0600</resolved>
                            <version>Backlog</version>
                                <fixVersion>Backlog</fixVersion>
                                        <due></due>
                    <votes>3</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="26711" author="thnetos" created="Mon, 8 Aug 2011 13:22:43 -0500"  >&lt;p&gt;Attached patch for adding the methods.&lt;/p&gt;</comment>
                    <comment id="26712" author="thnetos" created="Mon, 8 Aug 2011 18:28:24 -0500"  >&lt;p&gt;I intentionally left out the {:added &quot;_&quot;} from the vars since I have no idea when this will be added.&lt;/p&gt;

&lt;p&gt;This (as expected) causes this test to fail:&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; FAIL in (public-vars-with-docstrings-have-added) (metadata.clj:42)&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt; expected: (= [] (remove (comp :added meta) public-vars-with-docstrings))&lt;br/&gt;
     &lt;span class=&quot;error&quot;&gt;&amp;#91;java&amp;#93;&lt;/span&gt;   actual: (not (= [] (#&apos;clojure.string/butlast #&apos;clojure.string/drop #&apos;clojure.string/take)))&lt;/p&gt;

&lt;p&gt;Which is easily remedied. If desired, let me know what version this will be added to and I&apos;ll submit a new patch with the :added metadata included.&lt;/p&gt;</comment>
                    <comment id="27282" author="thnetos" created="Sat, 12 Nov 2011 16:29:22 -0600"  >&lt;p&gt;I have attached a patch with &quot;1.4&quot; as the added version now that 1.3 has been released.&lt;/p&gt;</comment>
                    <comment id="27307" author="chouser@n01se.net" created="Fri, 18 Nov 2011 22:29:46 -0600"  >&lt;p&gt;The algorithms, docs, and tests look good.  I think the functions would be better if they used clojure.core/subs like the rest of clojure.string does, instead of .substring.  This is more idiomatic Clojure and allows you to avoid hinting the String arg.&lt;/p&gt;

&lt;p&gt;When a new patch is uploaded, please remember to set the Patch field of this ticket to &quot;Code and Test&quot; and the Approval field to &quot;Test&quot;.  Hopefully this will lead to faster screening.&lt;/p&gt;</comment>
                    <comment id="27335" author="thnetos" created="Mon, 21 Nov 2011 12:50:49 -0600"  >&lt;p&gt;Attached a patch that uses subs instead of .substring (clj-826-add-take-drop-butlast-v3.diff).&lt;/p&gt;</comment>
                    <comment id="27390" author="stu" created="Fri, 2 Dec 2011 09:14:26 -0600"  >&lt;p&gt;These fns were left out intentionally. Feel free to propose a contrib home for them, though.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10311" name="clj-826-add-take-drop-butlast.diff" size="2423" author="thnetos" created="Mon, 8 Aug 2011 13:22:43 -0500" />
                    <attachment id="10712" name="clj-826-add-take-drop-butlast-v3.diff" size="2463" author="thnetos" created="Mon, 21 Nov 2011 12:50:49 -0600" />
                    <attachment id="10699" name="clj-826-add-take-drop-butlast-with-versions.diff" size="2477" author="thnetos" created="Sat, 12 Nov 2011 16:29:22 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10013">Test</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>
                                                                                    <customfield id="customfield_10003" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                <customfieldname>Waiting On</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>thnetos</customfieldvalue>
                </customfieldvalues>
            </customfield>
                            </customfields>
    </item>
</channel>
</rss>