On Fri, Mar 6, 2009 at 12:24 AM, mike.farn...@gmail.com <mike.farn...@gmail.com> wrote: > > Hi, > > Having attend Stu Halloway's talk on Clojure, at NFJS, I decided to > download it and check it out. The language seems like a perfect fit > for some database set manipulation that I do, and may need to do in > the future.
Hi, Mike, and welcome! > 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). I had the same question in getting started. Someone told me to type "(System/exit 0)" which will call the java.lang.System.exit method and terminate the program. This seems to work for me. > 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? You can find the details here: http://clojure.org/java_interop > Thanks for your patience, > Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---