Re: A Clojure documentation browser

2009-02-16 Thread Craig Andera
> I think a problem with the current layout is that once you jump to one > of the library sections you have to manually scroll back up to the > index. There are a few different ways this could be solved. > > a) You could just add a "top" link to each library section banner. > > b) Only show the c

Re: A Clojure documentation browser

2009-02-16 Thread rzeze...@gmail.com
On Feb 12, 3:31 pm, Craig Andera wrote: > > Nice work! > > Thanks. > > > Two things related to 'strcat'. > > > 1) This is already implemented as clojure.core/str (and is more > > efficient than concat'ing) > > 2) This function is never called :) > > Yeah, that code was cut and pasted from some ol

Re: A Clojure documentation browser

2009-02-14 Thread Craig Andera
> clojure-contrib/build.xml is where the change I talked about would go. If > you're up for giving it a try, that'd be great. I plan to look at it this > weekend unless someone beats me to it. If I did give it a shot, it likely wouldn't be until late next week, so knock yourself out. :) --~--~--

Re: A Clojure documentation browser

2009-02-14 Thread Stephen C. Gilardi
On Feb 14, 2009, at 7:13 AM, Craig Andera wrote: Glad to hear it. :) We talked about getting doc generation to be part of the build, which I think is a fine idea. Whose task is that? clojure-contrib/build.xml is where the change I talked about would go. If you're up for giving it a try, th

Re: A Clojure documentation browser

2009-02-14 Thread Craig Andera
> Github is fine. Once I see your name on clojure.org/contributing, I'll > commit this to clojure.contrib. For changes going forward, once you're happy > with some update on github, just let me know and I'll pull it into contrib. > For bug reporting, I recommend you add a section to the comments a

Re: A Clojure documentation browser

2009-02-13 Thread Stephen C. Gilardi
Hi Craig, On Feb 13, 2009, at 4:21 PM, Craig Andera wrote: OK, I've added the things I want to add, and sent in the agreement, which will probably make it to Rich next week. The code is on github [1] - if you want it somewhere else, let me know. I assume someone other than me will be committing

Re: A Clojure documentation browser

2009-02-13 Thread Craig Andera
> Please consider whether or not you'd like to send in a Contributor Agreement > to enable that. If you hurry you could become the first registered Clojure > contributor whose last name begins with A. :-) (clojure.org/contributing) OK, I've added the things I want to add, and sent in the agreemen

Re: A Clojure documentation browser

2009-02-12 Thread Craig Andera
> Nice work! Thanks. > Two things related to 'strcat'. > > 1) This is already implemented as clojure.core/str (and is more > efficient than concat'ing) > 2) This function is never called :) Yeah, that code was cut and pasted from some older work I did. It was removed when I started using prxml.

Re: A Clojure documentation browser

2009-02-11 Thread rzeze...@gmail.com
Nice work! Two things related to 'strcat'. 1) This is already implemented as clojure.core/str (and is more efficient than concat'ing) 2) This function is never called :) I have some idea's related to the presentation, but I don't have time to iterate them right now. -Ryan On Feb 11, 8:29 am,

Re: A Clojure documentation browser

2009-02-11 Thread Craig Andera
As I mentioned previously, I'm going to see if I can get time this week to set it up to go through clojure.contrib.prxml. If I don't run into any issues, that will remove the dependency on the javax stuff I'm importing. It will have the additional benefit of cutting the code in half. I'll update h

Re: A Clojure documentation browser

2009-02-11 Thread Craig Andera
> I like it a lot. I think it would be very cool if such an HTML file covering > clojure-rooted and clojure-contrib-rooted namespaces were to become an > output of building clojure-contrib. I like that idea a lot. > Please consider whether or not you'd like to send in a Contributor Agreement > t

Re: A Clojure documentation browser

2009-02-11 Thread Konrad Hinsen
On Feb 11, 2009, at 13:07, Christian Vest Hansen wrote: >> I suppose I need to add javax.xml to my classpath, but where do I get >> it from? I searched a bit and it looks like this is in the standard >> Java distribution, but in which jar file? > > It was added in Java 6. Could you perchance be r

Re: A Clojure documentation browser

2009-02-11 Thread Christian Vest Hansen
On Wed, Feb 11, 2009 at 11:58 AM, Konrad Hinsen wrote: > > On Feb 10, 2009, at 18:02, Craig Andera wrote: > >> One of the challenges with learning any new platform is learning the >> libraries. As a way to improve both that an my knowledge of Clojure >> itself, I whipped together doc-browse, a Cl

Re: A Clojure documentation browser

2009-02-11 Thread Konrad Hinsen
On Feb 10, 2009, at 18:02, Craig Andera wrote: > One of the challenges with learning any new platform is learning the > libraries. As a way to improve both that an my knowledge of Clojure > itself, I whipped together doc-browse, a Clojure library that will > spit out an HTML page that contains do

Re: A Clojure documentation browser

2009-02-10 Thread Giancarlo Angulo
nice, thanks! = ANGOL = -|-^...@^_^, =|+^_^X++~_~,@- "The only thing worse than a hopeless romantic is a hopeful one" Magbasa bago Mamuna. Mag-isip bago mambatikos Without Truth there is no Justice, Without Justice, there is Tyranny Semper fi Proof of Desire is Pursuit www

Re: A Clojure documentation browser

2009-02-10 Thread Stephen C. Gilardi
On Feb 10, 2009, at 12:02 PM, Craig Andera wrote: 4) To ask if there's anything else people would particularly like to see added/changed. On my list are to make each namespace collapsible in the same way the source is. I like it a lot. I think it would be very cool if such an HTML file cove

Re: A Clojure documentation browser

2009-02-10 Thread Craig Andera
> When I was writing it, > it sure seemed like I was missing a call to resolve somewhere, but > when it worked for some symbols, I got a) excited, and b) confused. :) Yep, that was basically it: I was calling get-source on the symbol that named the member, but I wasn't bothering to namespace-qual

Re: A Clojure documentation browser

2009-02-10 Thread Craig Andera
> I see that "show source" links are missing on your page for some > functions -- does this indicate a failure of repl-utils/get-source? I think so. But I'm willing to believe that the error is elsewhere. It's just hard for me to see where it could be. > These seem to work fine for me: > > user=

Re: A Clojure documentation browser

2009-02-10 Thread Chouser
On Tue, Feb 10, 2009 at 12:02 PM, Craig Andera wrote: > > 3) To ask specifically why clojure.contrib.repl-utils.get-source fails > so often. I can't figure out why so many of the members fail to > display the source, when some of the others do, sometimes even in the > same namespace. I see that