<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 09:46:55 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-1095/CLJ-1095.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-1095] Allow map-indexed to accept multiple collections (a la map)</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1095</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;Bring external interface of map-indexed in line with map. Existing usages of map-indexed unchanged both in implementation and interface.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;examples&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(map vector (range 10 20) (range 30 35)) ;=&amp;gt; ([10 30] [11 31] [12 32] [13 33] [14 34])
(map-indexed vector (range 10 20) (range 30 35)) ;=&amp;gt; ([0 10 30] [1 11 31] [2 12 32] [3 13 33] [4 14 34])&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The attached patch is not necessarily the best implementation (I haven&apos;t benchmarked it or tried any alternatives yet) but hopefully enough to start a conversation about whether this is an addition that is warranted. I know I wished for this behavior a few weeks ago though I ended up finding another way.&lt;/p&gt;

&lt;p&gt;(I haven&apos;t sent my CA yet, but I have it signed and ready to send in the next few days)&lt;/p&gt;</description>
                <environment></environment>
            <key id="15784">CLJ-1095</key>
            <summary>Allow map-indexed to accept multiple collections (a la map)</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="5" iconUrl="http://dev.clojure.org/jira/images/icons/priority_trivial.gif">Trivial</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="bjeanes">Bo Jeanes</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Oct 2012 16:30:01 -0500</created>
                <updated>Thu, 8 Nov 2012 14:58:13 -0600</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29802" author="aaron" created="Thu, 25 Oct 2012 17:11:09 -0500"  >&lt;p&gt;Can you add a test for the improved functionality?&lt;/p&gt;</comment>
                    <comment id="29803" author="bjeanes" created="Thu, 25 Oct 2012 17:20:56 -0500"  >&lt;p&gt;You bet. I tried to before submitting this but found no existing tests for map-indexed to expand upon. Given that, I decided to just start the conversation first. If you think this is a good addition, I&apos;ll find a place to stick the tests and add a new patch file.&lt;/p&gt;</comment>
                    <comment id="29804" author="bjeanes" created="Thu, 25 Oct 2012 20:05:14 -0500"  >&lt;p&gt;Add two unit tests for &lt;tt&gt;map-indexed&lt;/tt&gt;. One tests old behavior (single collection) and the second tests mapping across 3 collections. &lt;/p&gt;

&lt;p&gt;There were no existing tests for &lt;tt&gt;map-indexed&lt;/tt&gt; that I could see to expand upon (using &lt;tt&gt;git grep map-indexed src/clojure&lt;/tt&gt;)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11615" name="0001-map-indexed-accepts-multiple-collections.patch" size="2422" author="bjeanes" created="Thu, 25 Oct 2012 16:30:01 -0500" />
                    <attachment id="11616" name="0002-Add-test-for-multi-collection-map-indexed-fn.patch" size="924" author="bjeanes" created="Thu, 25 Oct 2012 20:05:14 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <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>