Re: ClojureQL - 0.9 approaching 1.0

2009-07-02 Thread Ozzi Lee
BUILD SUCCESSFUL Total time: 6 seconds Awesome, thanks for the quick fix! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: ClojureQL - 0.9 approaching 1.0

2009-07-02 Thread Ozzi Lee
It looks like ant is using ivy to get these dependencies, unless I'm reading it wrong. Is this what I need? http://dev.mysql.com/downloads/connector/j/3.1.html $ ant Buildfile: build.xml init: download-ivy: [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc1/ivy-2

Re: ClojureQL - 0.9 approaching 1.0

2009-07-02 Thread Ozzi Lee
I get an error when compiling from head with ant. It dies with: java.lang.ClassNotFoundException: org.mysql.jdbc.Connection (mysql.clj: 18) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: Determining exceptions that can leak from a function

2009-06-16 Thread Ozzi Lee
You certainly should be able to do it using the Java reflection API on the repl. (.getMethods java.io.InputStream) will get you an array of Methods in InputStream. From there you should be able to get what you want: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/reflect/Method.html This sort

Wish: (-> x) should be legal

2009-06-04 Thread Ozzi Lee
While writing a macro, I noticed that (-> x) raises an error. It would be useful for this to be legal, and equivalent to (-> x identity). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: The Path to 1.0

2009-04-17 Thread Ozzi Lee
I feel the urge to drop a couple more pennies into this thread. Trunk should NOT be used for day-to-day development and experimentation. There should be a branch for that. Trunk should NEVER be broken. Comprehensive tests need to run and pass on the development branch before those changes are me

Re: update-in wildcards?

2009-04-13 Thread Ozzi Lee
> Does clojure have a facility for creating a value that > will never be considered equal to any other value? Duh, brainfart. Gensym will work nicely, of course. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cloju

Re: update-in wildcards?

2009-04-13 Thread Ozzi Lee
Well, I expected someone to tell my that was a horrible idea, not to implement it for me. Thanks! One thing that concerns me is that :* could conceivable be used as a key in a hash-map. Perhaps a separate distinct value should be used as a wildcard? Does clojure have a facility for creating a val

update-in wildcards?

2009-04-10 Thread Ozzi Lee
I have a structure of nested Maps and Vectors as follows: (def document {:sections [{:items [{:quantity 1} {:quantity 2}]} {:items [{:quantity 3} {:quantity 4}]}]}) The document has a vector of sections (one, in this case), each section has a v

Re: Clojure Poll 09/2008

2008-09-10 Thread Ozzi Lee
> What are you doing with Clojure? Some simple web stuff, nothing exciting so far. What 3 features would you most like to see added next? 1. Better error messages. 2. Better error messages. 3. Better error messages :-) --~--~-~--~~~---~--~~ You received this me

Re: Processing wrapper

2008-09-09 Thread Ozzi Lee
Well, let me be the first to say, this looks awesome. Hopefully I can find some time to dig into it soon. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@g