Possible Bug In clojure.zip/remove

2009-03-19 Thread Jason Sankey
Hi All, I've been teaching myself clojure and in the process am working on a small program to manipulate an XML file. I figured this was a good chance to try clojure.zip, but I'm having some difficulty. Being a newbie I strongly suspected myself - but when I posed the question on IRC the conclu

Re: Possible Bug In clojure.zip/remove

2009-03-19 Thread Jason Sankey
Hi Christophe, On Mar 19, 11:22 am, Christophe Grand wrote: > Jason Sankey a écrit : > > > (if (and (branch? loc) (not (empty? (children loc > >   (recur (-> loc down rightmost)) > >   loc)) > > > Being new to both clojure and zip I admit there's st

Re: Possible Bug In clojure.zip/remove

2009-03-19 Thread Jason Sankey
Hi Frantisek, Frantisek Sodomka wrote: > On Mar 19, 12:58 pm, Jason Sankey wrote: >> Also, is there somewhere I can contribute test cases for this to >> prevent a future regression? > > In order to contribute, you must fill-in and send The Contributor > Agreement (CA

Re: Possible Bug In clojure.zip/remove

2009-03-20 Thread Jason Sankey
Hi Frantisek, Frantisek Sodomka wrote: > On Mar 19, 11:37 pm, Jason Sankey wrote: >> I pretty much have it working for the test-clojure suite now, although >> I'm sure the code could use review by a more experienced eye. I've been >> looking at adding the o

Re: Possible Bug In clojure.zip/remove

2009-03-23 Thread Jason Sankey
Frantisek Sodomka wrote: > On Mar 19, 12:58 pm, Jason Sankey wrote: >> Also, is there somewhere I can contribute test cases for this to >> prevent a future regression? > > Tests for clojure.zip can from now on go to test-clojure.clojure-zip: > http://code.google.com/

Re: test-is now supports TAP

2009-04-01 Thread Jason Sankey
Hi Stuart, Stuart Sierra wrote: > Not an April Fool's joke! New lib "clojure.contrib.test-is.tap" adds > Test Anything Protocol (TAP) support to test-is. Use it like this: > > ;; (use 'clojure.contrib.test-is) > ;; (use 'clojure.contrib.test-is.tap) > ;; > ;; (with-tap-output > ;;(ru

Re: test-is now supports TAP

2009-04-02 Thread Jason Sankey
Stuart Sierra wrote: > On Apr 1, 12:21 pm, Jason Sankey wrote: >> Out of interest, are you interested in other output formats for test-is? >> I chose JUnit compatible as a defacto-standard -- it integrates with >> the unofficial build server I have been working on

Re: Ironicly Maven2 is the lightest I could come up with

2009-04-02 Thread Jason Sankey
Paul Stadig wrote: > This works great for Java libraries, but only libraries that are in a > maven repo. How hard is it to get code into a repo? What about java > libraries not in a maven repo, or clojure code like clojure-json on GitHub? I don't think it is terribly hard to get in the repo, bu

Re: Ironicly Maven2 is the lightest I could come up with

2009-04-02 Thread Jason Sankey
Laurent PETIT wrote: > Hi, > > 2009/4/2 Jason Sankey mailto:ja...@zutubi.com>> > > Ivy [ ... ] also supports pluggable resolvers, so > you can host your Jars/dependency information in multiple ways. > > > Does that mean one could write resolvers to au

Re: ant + ivy IMO is not simpler than POMs

2009-04-05 Thread Jason Sankey
dysinger wrote: > It's good to see other examples of dep management for other setups. > > However, IMO working on 20 modules would be a PITA with ant+ivy. Can > you show an example with multi-module? (I tried checking out the > latest release of IVY and it wouldn't compile on my Mac w/ JDK 1.6 so

Re: DISCUSS: clojure.contrib.java-utils/file

2009-04-06 Thread Jason Sankey
James Reeves wrote: > On Apr 6, 4:10 am, Stuart Sierra wrote: >> I don't see an obvious way of combining them. > > What about something like: > > (defn- normalize-separator > [filepath] > (.. (str filepath) > (replace \\ File/separatorChar) > (replace \/ File/separatorChar))) > > (

Re: DISCUSS: clojure.contrib.java-utils/file

2009-04-06 Thread Jason Sankey
James Reeves wrote: > On Apr 6, 11:29 am, Jason Sankey wrote: >> I think there may be a misunderstanding over "combining" here - I read >> Stuart's mail to mean there was no obvious way to combine >> duck-streams/file and java-utils/file, whereas this imp

Re: ATTN contrib authors: Automatic documentation for clojure.contib

2009-04-14 Thread Jason Sankey
Hi Tom, Tom Faulhaber wrote: > The next stage of my plan is to build a robot that watches the > subversion repository and updates the doc on every checkin. Therefore > the doc will typically correspond to the tip of the tree. I'd be happy to add generation/upload of documentation as a build st

Re: Clojure 1.0.0 has been uploaded to Maven Central - Finally

2009-07-14 Thread Jason Sankey
Hi there, AlamedaMike wrote: > Stefan, Meikel, > > Thanks much for this. It looks very interesting. > > Forgive a newb question but I just downloaded Maven for the first time > 30 minutes ago. I read the "Maven in 5 minutes" doc, and executed: > > mvn archetype:create -DgroupId=org.clojure -D