Re: Good Introductory materials to the Java ecosystem.

2008-10-04 Thread Matthew D. Swank
On Oct 5, 12:12 am, "Matthew D. Swank" <[EMAIL PROTECTED]> wrote: > I thinks there is a happy medium in there somewhere. Evidently I'm Smeagol: which, by the way, would be a wonderful name for a programming language. Matt --~--~-~--~~~---~--~~ You received this m

Re: Good Introductory materials to the Java ecosystem.

2008-10-04 Thread Matthew D. Swank
On Oct 4, 2:54 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote: > On Oct 3, 11:06 pm, "Matthew D. Swank" <[EMAIL PROTECTED]> > wrote: > > > I Googled a bit, but I was wondering if anyone here had any > > recommendations.   ... > Hi Matt, > Here are some links I've recommended in the past... ... > If

Kudos

2008-10-04 Thread jim
Rich, Just finished listening the Boston presentation. I've been working with Clojure for a while and just wanted to say that it's a pleasure to use. The mental model behind it is so consistent that most things just work. Kudos Jim --~--~-~--~~~---~--~~ You rece

Re: (exit)

2008-10-04 Thread verec
Answering my own question ... It seems that there is provision for a "user startup file", user.clj. Maybe that's where I should have put my mods? Oh and I've seen other (previous) answers to this (exit) -- that must be a FAQ, except that I couldn't find the FAQ :-( -- with a nicer (defn exit

"No matching method" does not include class name considered

2008-10-04 Thread Hans Hübner
user=> (. (String.) (blah)) java.lang.IllegalArgumentException: No matching method found: blah (NO_SOURCE_FILE:0) It would be very helpful if the error message included the name of the class that has been considered to find the method ("String" in this case). It is easy to not see what Java obje

Re: Error message for malformed let

2008-10-04 Thread Rich Hickey
On Oct 4, 4:23 pm, Hans Hübner <[EMAIL PROTECTED]> wrote: > (let [a 1 b] true) > > yields > > java.lang.ArrayIndexOutOfBoundsException: 3 (NO_SOURCE_FILE:0) > > A syntax error would be good. > I've improved the error handling for this, thanks for the report. Rich --~--~-~--~~-

(exit)

2008-10-04 Thread verec
OK. That one with trivial to add :-) (defn exit "Returns to the OS by forcibly exiting the platform" ([] (. System exit 0)) ([n] (. System exit n))) Added inside boot.clj, right before (import '(java.io Writer)) (defn- print-sequential [#^String begin, print-one, #^Str

Error message for malformed let

2008-10-04 Thread Hans Hübner
(let [a 1 b] true) yields java.lang.ArrayIndexOutOfBoundsException: 3 (NO_SOURCE_FILE:0) A syntax error would be good. -Hans --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: Access to overloaded java method in org.jscience.physics.amount.Amount

2008-10-04 Thread Rich Hickey
On Sep 16, 10:27 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > On Sep 16, 9:48 am, markm <[EMAIL PROTECTED]> wrote: > > > > > On Sep 16, 7:51 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > > > ... > > > > The workaround I came up with fails to filter the bridge method in > > > org.jscience.physics.

Re: Good Introductory materials to the Java ecosystem.

2008-10-04 Thread Stuart Sierra
On Oct 3, 11:06 pm, "Matthew D. Swank" <[EMAIL PROTECTED]> wrote: > I Googled a bit, but I was wondering if anyone here had any > recommendations.  I am somewhat familiar with the .NET and the CLR. > However I am pretty green on the JVM operations and semantics, and the > various tools and platfor

Re: stack overflow in "for"

2008-10-04 Thread Rich Hickey
On Oct 3, 7:57 pm, Chouser <[EMAIL PROTECTED]> wrote: > prunedtree in IRC reported a stack overflow with this > code:http://paste.lisp.org/display/67882 > > I was able to trim this down and still reproduce the error: > > (dorun (for [i (range 1) j nil] 1)) > > It turns out that "for" and "l

Re: Syntax highlighter and setup for Clojure in Context editor under Windows/XP

2008-10-04 Thread hotcore
Thanks Hans, didn't know that feature yet! I uploaded the file as Clojure-Context.zip. Regards, Arie On Oct 4, 3:57 pm, Hans Hübner <[EMAIL PROTECTED]> wrote: > On 4 Okt., 12:46, hotcore <[EMAIL PROTECTED]> wrote: > > > I have created a zip file containing a syntax highlighter and a few >

Re: What "reasoner"?

2008-10-04 Thread Jules
Do you mean Datalog? http://en.wikipedia.org/wiki/Datalog Jules On Oct 4, 7:49 am, Josip Gracin <[EMAIL PROTECTED]> wrote: > Hi! > > Rich, in the Boston talk you mentioned that you're considering some > kind of a "reasoner" (if I understood correctly) for working with > databases.  You also ment

Re: Syntax highlighter and setup for Clojure in Context editor under Windows/XP

2008-10-04 Thread Hans Hübner
On 4 Okt., 12:46, hotcore <[EMAIL PROTECTED]> wrote: > I have created a zip file containing a syntax highlighter and a few > Windows scripts to execute Clojure scripts from within the Context > editor together with a doc file. > > Where can I upload the ZIP file so that interested people might use

swank-clojure: slime-compile-defun doesn't work

2008-10-04 Thread Alec Berryman
I'm using SLIME 2008-09-28 and a swank-clojure from git up-to-date as of today. It's generally working well. When I place the point anywhere in or around a form and use C-c C-c (slime-compile-defun), I see "Evaluation aborted" in my minibuffer and this in *slime-events*: (:emacs-rex (swank

Syntax highlighter and setup for Clojure in Context editor under Windows/XP

2008-10-04 Thread hotcore
Hi, I have created a zip file containing a syntax highlighter and a few Windows scripts to execute Clojure scripts from within the Context editor together with a doc file. Where can I upload the ZIP file so that interested people might use it? TIA Arie --~--~-~--~~~-

clojure.contrib.sql: column specs are now vectors

2008-10-04 Thread Stephen C. Gilardi
Another update to create-table: column specs are now vectors to allow specifying more than just name and type naturally. The members of the vectors will be made into strings and concatenated with spaces interposed among them: (defn db-write [] (with-connection con (db) (try (dr