On Fri, Mar 6, 2009 at 12:24 AM, mike.farn...@gmail.com < mike.farn...@gmail.com> wrote:
> > So, I downloaded clojure and started it up with the command: > java -cp clojure.jar clojure.lang.Repl > > The docs indicate: "This will bring up a simple read-eval-print loop > (REPL)." > > Is this truly an infinite loop? > > I tried a number of commands to exit. > So, I just hit ctrl-C. (This is on Windows). > You can also stop it by typing (System/exit 0). Anyhow, one other question, since clojure can access Java classes, > I should be able to open a database connection and do all of the good > DB things, right? > Sure. Here's an example of some Java interop: http://clojure.org/jvm_hosted. There's a Clojure interface to jdbc in the clojure-contrib project: http://code.google.com/p/clojure-contrib/source/browse/trunk/src/clojure/contrib/sql.clj . Shawn --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---