<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sat May 25 20:05:34 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-310/CLJ-310.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-310] clojure.repl namespace</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-310</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;promote the following fns&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;clojure.contrib.repl-utils/source to clojure.repl/source&lt;/li&gt;
	&lt;li&gt;clojure.contrib.repl-utils/apropos to clojure.repl/apropos&lt;/li&gt;
	&lt;li&gt;clojure.contrib.ns-utils/dir to clojure.repl/dir&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Also:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;promote any necessary helper fns&lt;/li&gt;
	&lt;li&gt;make sure helper fns are private&lt;/li&gt;
	&lt;li&gt;promote and or write unit tests&lt;/li&gt;
	&lt;li&gt;make the clojure repl use these four fns&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="13707">CLJ-310</key>
            <summary>clojure.repl namespace</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="1">Completed</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="-1">None</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Apr 2010 14:34:00 -0500</created>
                <updated>Tue, 24 Aug 2010 07:41:00 -0500</updated>
                    <resolved>Tue, 24 Aug 2010 07:41:00 -0500</resolved>
                                            <fixVersion>Release 1.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="23691" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;Converted from &lt;a href=&quot;http://www.assembla.com/spaces/clojure/tickets/310&quot;&gt;http://www.assembla.com/spaces/clojure/tickets/310&lt;/a&gt;&lt;br/&gt;
Attachments:&lt;br/&gt;
clojure-promote-repl.diff - &lt;a href=&quot;https://www.assembla.com/spaces/clojure/documents/c6elQ8u8ur34WNeJe5cbLA/download/c6elQ8u8ur34WNeJe5cbLA&quot;&gt;https://www.assembla.com/spaces/clojure/documents/c6elQ8u8ur34WNeJe5cbLA/download/c6elQ8u8ur34WNeJe5cbLA&lt;/a&gt;&lt;br/&gt;
clojure-contrib-promote-repl.diff - &lt;a href=&quot;https://www.assembla.com/spaces/clojure/documents/c6qz7Ou8ur34WNeJe5cbLA/download/c6qz7Ou8ur34WNeJe5cbLA&quot;&gt;https://www.assembla.com/spaces/clojure/documents/c6qz7Ou8ur34WNeJe5cbLA/download/c6qz7Ou8ur34WNeJe5cbLA&lt;/a&gt;&lt;br/&gt;
0310-promote-repl-clojure-with-tweaks.patch - &lt;a href=&quot;https://www.assembla.com/spaces/clojure/documents/cEvRP-wc8r36MfeJe5cbCb/download/cEvRP-wc8r36MfeJe5cbCb&quot;&gt;https://www.assembla.com/spaces/clojure/documents/cEvRP-wc8r36MfeJe5cbCb/download/cEvRP-wc8r36MfeJe5cbCb&lt;/a&gt;&lt;br/&gt;
0310-clojure-repl-with-fn-naming.patch - &lt;a href=&quot;https://www.assembla.com/spaces/clojure/documents/d6k246wFSr35tLeJe5cbLr/download/d6k246wFSr35tLeJe5cbLr&quot;&gt;https://www.assembla.com/spaces/clojure/documents/d6k246wFSr35tLeJe5cbLr/download/d6k246wFSr35tLeJe5cbLr&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="23692" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;chouser@n01se.net said: Not interested in &quot;show&quot;, perhaps with a better name?  clojure.java/classinfo or something?&lt;/p&gt;

&lt;p&gt;For tickets like this do you actually want a patch against clojure, or is this more of a placeholder for eventual work by someone else?&lt;/p&gt;</comment>
                    <comment id="23693" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;scgilardi said: - &quot;show&quot; is the repl-util I use most often. I think it should be included.&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Abstractly I think these are more development tools than things particularly about a repl. Perhaps clojure.dev would be a better name than clojure.repl.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    <comment id="23694" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: updated description, hopefully now dev-able by anybody&lt;/p&gt;</comment>
                    <comment id="23695" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: pulling javadoc for now, due to the number of dependencies. May re-open it as a separate ticket.&lt;/p&gt;</comment>
                    <comment id="23696" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: [&lt;a href=&quot;file:c6elQ8u8ur34WNeJe5cbLA&quot;&gt;file:c6elQ8u8ur34WNeJe5cbLA&lt;/a&gt;]: Clojure core patch&lt;/p&gt;</comment>
                    <comment id="23697" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: [&lt;a href=&quot;file:c6qz7Ou8ur34WNeJe5cbLA&quot;&gt;file:c6qz7Ou8ur34WNeJe5cbLA&lt;/a&gt;]: Clojure contrib patch&lt;/p&gt;</comment>
                    <comment id="23698" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: A couple items I&apos;m not sure I got right:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;promoting macros necessitated promoting the functions they used directly, but this could be avoided with * functions, I believe&lt;/li&gt;
	&lt;li&gt;some public contrib functions are now repeated verbatim as private functions in clojure.repl. I left comments in clojure.contrib, which may not be appropriate.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Let me know - happy to update the patches.&lt;/p&gt;</comment>
                    <comment id="23699" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: Wow, print-dir sure sucks in a lot of stuff. I think we can avoid it. Can you update the clojure patch to:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;leave out throwable?, throwable, and throw-if, and get-ns&lt;/li&gt;
	&lt;li&gt;have print-dir call find-ns directly, do an if-let existence test, and throw an exception if the ns is not found&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                    <comment id="23700" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: Indeed! Patches are updated, and I think they&apos;re much nicer.&lt;/p&gt;

&lt;p&gt;I&apos;ve also restored print-dir in contrib and added dir* in clojure.repl, which has slightly different semantics (in particular, it expects a symbol input, not a Namespace). We don&apos;t use print-dir anywhere in clojure-contrib now, but in case anyone else does this should minimize issues.&lt;/p&gt;</comment>
                    <comment id="23701" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: Thanks Travis,&lt;/p&gt;

&lt;p&gt;Thanks to the new &quot;last var in wins&quot; feature in Clojure, there is no need to remove these fns from clojure-contrib. They can stay there, and not break people who already use them that way. So we will apply only Clojure-side patch.&lt;/p&gt;</comment>
                    <comment id="23702" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: [&lt;a href=&quot;file:cEvRP-wc8r36MfeJe5cbCb&quot;&gt;file:cEvRP-wc8r36MfeJe5cbCb&lt;/a&gt;]&lt;/p&gt;</comment>
                    <comment id="23703" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: My May 5 patch includes Travis&apos; original patch for the Clojure side, and adds a second commit that puts the (use &apos;clojure.repl) in the right place in main.clj, and removes the dependency on the now-defunct &quot;seq-contains?&quot;. The two patch approach preserves provenance but means that there is an intermediate commit where the build is broken.&lt;/p&gt;

&lt;p&gt;Should we move towards a common convention for relating the names of macros and their driver fns? This patch has dir/dir* but source/get-source.&lt;/p&gt;</comment>
                    <comment id="23704" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;richhickey said: Whatever the convention is, I&apos;m wary of blah*. In Clojure the * version is often a primitive thing. Something* is also a nice (as yet unused) variant for other meanings. Double leading underscore is pretty ugly and obviously internal to most people&lt;/p&gt;</comment>
                    <comment id="23705" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;richhickey said: blah-impl is fine too&lt;/p&gt;</comment>
                    <comment id="23706" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: I like the double leading underscore. Stuart - would you like me to update the original patch? I&apos;d be happy to incorporate your changes as well if you think that&apos;s appropriate.&lt;/p&gt;

&lt;p&gt;It&apos;s a minor matter, but I also noticed that I&apos;m using my weatherbill.com email address, which maybe isn&apos;t ideal, as this work wasn&apos;t done in that scope. That leads to a second question, probably best taken out of this but, about corporate CLAs, but I&apos;ll bring that up in a different forum.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                    <comment id="23707" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;tvachon said: er - s/taken out of this but/taken out of this ticket/&lt;/p&gt;</comment>
                    <comment id="23708" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: In this case (and perhaps in many cases) the driver fns might actually need to be called, so I don&apos;t like the __.  blah-impl is fine, if you would like to make that change please do.&lt;/p&gt;</comment>
                    <comment id="23709" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;richhickey said: If we are intending to have people call the fns, like dir* and get-source, then what is here is not ok.&lt;/p&gt;

&lt;p&gt;If the macros are just macros for quoting purposes, I think we should establish a macro/macro-fn naming convention. Also, the dir* fn probably shouldn&apos;t print, i.e. the functions, if they are to have utility as functions, should be (real) functions, i.e. no side effects, return data structures, in which case the division of labor between dir and dir* (to be dir-fn) needs to change.&lt;/p&gt;</comment>
                    <comment id="23710" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: [&lt;a href=&quot;file:d6k246wFSr35tLeJe5cbLr&quot;&gt;file:d6k246wFSr35tLeJe5cbLr&lt;/a&gt;]&lt;/p&gt;</comment>
                    <comment id="23711" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: may 7 patch subsumes the others and is ready for review&lt;/p&gt;</comment>
                    <comment id="23712" author="importer" created="Tue, 24 Aug 2010 07:41:00 -0500"  >&lt;p&gt;stu said: Updating tickets (#310, #318, #341)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10007">Ok</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>