<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 07:07:56 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-1088/CLJ-1088.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-1088] repl/source could support protocol functions</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1088</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;user=&amp;gt; (source clojure.core.protocols/coll-reduce)
Source not found&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But since the protocol fn&apos;s var&apos;s metadata points to the protocol var, and the protocol var knows the file and line where it was defined, it would be trivial to improve &apos;source&apos; to look like this:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;user=&amp;gt; (source clojure.core.protocols/coll-reduce)
(defprotocol CollReduce
  &quot;Protocol &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; collection types that can implement reduce faster than
  first/next recursion. Called by clojure.core/reduce. Baseline
  implementation defined in terms of Iterable.&quot;
  (coll-reduce [coll f] [coll f val]))&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="15763">CLJ-1088</key>
            <summary>repl/source could support protocol functions</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="chouser@n01se.net">Chouser</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Oct 2012 09:53:35 -0500</created>
                <updated>Sun, 21 Oct 2012 12:41:12 -0500</updated>
                                    <version>Release 1.5</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29737" author="chouser@n01se.net" created="Sun, 21 Oct 2012 10:00:50 -0500"  >&lt;p&gt;Add one-line patch to clojure.repl/source so that it will find the protocol definition for a given protocol function.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11592" name="0001-Add-support-for-protocol-fns-to-repl-source.-CLJ-1088.patch" size="1965" author="chouser@n01se.net" created="Sun, 21 Oct 2012 10:00:50 -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="10001">Code</customfieldvalue>

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