Re: Basic colour in the standard REPL
On Fri, Aug 27, 2010 at 4:39 PM, frou m...@frou.org wrote: Is it or would it be possible to add some basic text colouring to the standard REPL (the one started with the clj shell script). It would be nice to be able to make the prompt, e.g. user= coloured (green in my case) so that you get at-a-glance distinction between your inputs and the results printed. If you use rlwrap to invoke the clojure repl, you can do that with --prompr-colour option eg; rlwrap -pred java -cp blah blah clojure.main -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Slime, debug-repl clojure debugging toolkit
On Wed, Jul 21, 2010 at 11:52 AM, Krukow karl.kru...@gmail.com wrote: I am interested in getting the combination of Emacs+slime+swank- clojure, alex-and-georges.debug-repl and clojure debugging toolkit to work together. debug-repl is kind of integrated already into swank by Hugo Duncan. user (let [c 1 d 2] (defn a [b c] (debug-repl) d)) (a foo bar) dr-1-1001 = 2 user Just put (swank.core/break) instead of (debug-repl) http://hugoduncan.org/post/2010/swank_clojure_gets_a_break_with_the_local_environment.xhtml -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Slime, debug-repl clojure debugging toolkit
On Wed, Jul 21, 2010 at 6:04 PM, Krukow karl.kru...@gmail.com wrote: 0: com.trifork.intrafoo.clj.extract_contacts $extract_all.invoke(NO_SOURCE_FILE:1) Locals: pref = /Users/krukow/workspaces/trifork/intrafoo_clj/ contactdata/ cli = org.apache.commons.httpclient.httpcli...@6078b973 cs = [411719 413255 413279 In the repl I can hit ENTER: I don't seem to get this problem. user (defn foobar [] (let [a 10 b 20] (swank.core/break) (* a b))) #'user/foobar user (foobar) (I switch back to slime-repl and hit enter, this drops me into the repl. nil user a 10 user b 20 -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: ANN: CDT - The Clojure Debugging Toolkit
On Tue, Jul 6, 2010 at 11:44 AM, George Jahad cloj...@blackbirdsystems.net wrote: My experiment with the JDI: http://georgejahad.com/clojure/cdt.html Hi, Thanks for this great project and notes. For others who are trying this out, I found a minor issue. I am running openJDK under Debian GNU/Linux amd64 arch, with the java version as shown below. $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-3) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) I had a bit of a trouble to connect to the server instance of the JVM. It was tracked down to the way jvm picks the hostname from /etc/hosts instead of the one from loopback address. Here are some links I found while trying to debug this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6452180 http://forums.sun.com/thread.jspa?threadID=618145 I had to explicitly specify the hostname (or ip address) to cdt-attach. I have a fix here which explicitly connects to localhost, if no hostname string is specified. http://github.com/vu3rdd/cdt/tree/cdt-attach-fix Also the webpage gives 8021 as the listening address but connects to 8030. Again, a very minor nitpick. Thanks for the great work, George. Hoping to play with it more. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: 57 varieties
On Fri, May 28, 2010 at 4:09 PM, Philip Hudson phil.hud...@iname.com wrote: I've been trying for the best part of a month to get SLIME/SWANK/Clojure/clojure-mode working in emacs 23.2 on Mac OS X 10.5 without using ELPA, which unfortunately seems to break everything including Here are my instructions for a completely manual setup which works very well for me, I keep syncing with technomancy's branch: http://github.com/vu3rdd/swank-clojure/raw/master/config.txt http://github.com/vu3rdd/swank-clojure -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Error when tried to compile with C-c C-k in emacs.
On Sun, May 23, 2010 at 10:08 AM, Chris McClellen chris.mcclel...@gmail.com wrote: I only got it to half work. Using elpa, have done the same as others. Using mvn w/clojure plugin to do mvn clojure:swank; changed to use swank 1.2.1. C-c C-k works fine... C-c C-c bombs with Java.lang.exception (No such namespace) like so: That's because C-c C-c is now truely compilation. Previously it was `eval'. If you load your namespace on the repl, then the error goes away. (use 'foo.bar) then C-c C-c. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: My non-ELPA Emacs swank-clojure setup
On Mon, May 3, 2010 at 3:43 AM, Robert Ewald robew...@gmx.net wrote: Am Sonntag, 11. April 2010 00:59:47 schrieb DanL: On 11 Apr., 00:34, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote: As far as I know, there were problems with the protocol using symbols in CL's package::symbol syntax (and some other characters not being allowed in Clojure) after changes in CVS Slime about five months ago. So it would just need to use a sexp parser instead of directly interning the foreign symbols? Not that I'm volunteering or anything A small custom reader would be part of the solution, I guess. IIRC there has been some work on slime making a thin RPC layer. I haven't looked recently how far that one has come. Unfortunatly I am not in the position to contribute patches, but I think that swank-clojure should consider adopting this protocol, although I don't think there are any promisies regarding stability. Terje Norderhaug implemented it and is already in use in the latest swank-clojure. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Problem with Destructuring in A Function Call
On Fri, Apr 16, 2010 at 2:29 PM, Bytesource stefan.rohlf...@gmail.com wrote: Hi, I am currently reading Programming Clojure but got stuck at the destructuring done in the head-overlaps-body? function call that is part of the snake game: (defn head-overlaps-body? [{[head body] :body}] (includes? body head)) ;; page 200 of the pdf version I can not figure out what {[head body] :body} actually means here. The :body on the map returns something like this: [[1 1] [1 2] [1 3] [1 4] [1 5]] i.e. each co-ordinate is a vector and the whole set of vectors are inside another vector. By the destructuring binding {[head body] :body}, you are separating out the head and the rest of the body. (def snake-body {:body [[1 1] [1 2] [1 3]]}) (:body snake-body) = [[1 1] [1 2] [1 3]] (let [[head body] (:body snake-body)] head) = [1 1] (let [[head body] (:body snake-body)] body) = ([1 2] [1 3]) Hope this helps. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Choosing a Clojure build tool
Is there a tool which takes a simple config file as input in some human readable format (like below) and generate mavel pom xml? name: foobar version: x.y.z dependencies: clojure (= 1.1.0), clojure-contrib (= 1.1.0) ... ... Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: Choosing a Clojure build tool
On Fri, Mar 26, 2010 at 1:06 PM, Konrad Hinsen konrad.hin...@fastmail.net wrote: On 26 Mar 2010, at 05:50, Chas Emerick wrote: Because they're common processes that are ideally built once, and then reused with minor variation. Library reuse is generally considered to be a good thing in software development, so it strikes me as odd that many think that such practices should stop at the build's edge, as it were. Reuse is fine, libraries are fine. But Maven seems to be a monolithic beast that does a zillion things automatically and without telling me. Sure, I can always add some magic incantations on the command line to change whatever I want, but I need to know and understand all that. What I like is the Unix approach: each tool does one thing but does it well, and a flexible combination method (shells and pipes in the Unix case) permits everyone to customize the operations as necessary. That doesn't prevent anyone from providing easy-install scripts for end users, of course. Yes, I have exactly same feelings as well. IMHO, ant fits the task of the build tool very well. I never really understood why clojure-contrib moved to maven. What is needed is a tool to handle just the dependencies part. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: The end goal
On Wed, Mar 24, 2010 at 8:36 AM, Michael Richter ttmrich...@gmail.com wrote: I don't know the process, but I'm willing to endure the tedium of packaging clojure for Ubuntu (and by extension Debian) if this is the kind of thing that can be a two-person job. clojure and clojure-contrib are already in Debian (and so in Ubuntu). -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: The end goal
On Thu, Mar 25, 2010 at 6:38 AM, Michael Richter ttmrich...@gmail.com wrote: On 25 March 2010 00:05, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: On Wed, Mar 24, 2010 at 8:36 AM, Michael Richter ttmrich...@gmail.com wrote: I don't know the process, but I'm willing to endure the tedium of packaging clojure for Ubuntu (and by extension Debian) if this is the kind of thing that can be a two-person job. clojure and clojure-contrib are already in Debian (and so in Ubuntu). They're also dated versions. It has 1.1, which is the last stable release of clojure. $ dpkg -l clojure* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=-=-== ii clojure 1.1.0+dfsg-1 a Lisp dialect for the JVM ii clojure-contrib 1.1.0-2 a user contributed set of libraries for clojure -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: The end goal
On Thu, Mar 25, 2010 at 9:01 AM, Michael Richter ttmrich...@gmail.com wrote: Weird. I'm showing 1.0 for those. mich...@isolde:~$ aptitude search clojure p clojure - a Lisp dialect for the JVM mich...@isolde:~$ aptitude show clojure Package: clojure New: yes State: not installed Version: 1.0.0+dfsg-1~jaunty1 I am using debian unstable. Debian testing also has 1.1.0 packages for clojure and clojure-contrib. It should find its way to Ubuntu, as they sync with Debian when they start their 6 month release cycle. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: Why I have chosen not to employ clojure
On Mon, Mar 22, 2010 at 5:13 PM, Per Vognsen per.vogn...@gmail.com wrote: good example of a Java developer-oriented application with a good out-of-box experience on all platforms. Shell scripts for UNIX and installers for Windows and OS X would go a long way towards improving that for Clojure. In my opinion, atleast in the GNU/Linux world, it should be left to distributors to do this job. On Debian for instance, one just need to do `apt-get install clojure clojure-contrib' to get clojure installed. Of course, one can provide instructions on how to build by oneself. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: Name suggestions
On Wed, Mar 17, 2010 at 12:38 PM, mac markus.gustavs...@gmail.com wrote: After just a little more test and polish I plan on calling clj-native 1.0. But clj-native is a *really* boring name so I want to change it before 1.0 and I don't have very good imagination when it comes to these things. So I need your help. It doesn't have to have anything to do with anything, could just be something that sounds funny, like sasquatch, that's a funny word. clj-baremetal ? -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Leiningen, Clojure and libraries: what am I missing?
On Fri, Mar 5, 2010 at 9:47 PM, Stuart Sierra the.stuart.sie...@gmail.com wrote: Yes, the Maven configuration model isn't pretty, but if you follow the conventions it works. Polyglot Maven will obviate the need to write I didn't know about Polyglot. Thanks. Looks like a very nice tool. http://polyglot.sonatype.org/clojure.html -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Clojure/SLIME/Emacs questions
On Sat, Feb 13, 2010 at 5:48 AM, Steven E. Harris s...@panix.com wrote: Phil Hagelberg p...@hagelb.org writes: Upstream slime is not compatible with swank-clojure I find this not to be true at present, the stilted SLIME/Swank connection problem¹ and disabling autodoc mode notwithstanding. Yes, I too use slime upstream and avoid elpa. I can't seem to get auto completion to work with Java functions which some folks on the irc said they could. Otherwise it works fine for me. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Prepping clojure for packaging (was: Re: Clojure for system administration)
On Tue, Feb 9, 2010 at 12:27 PM, Meikel Brandmeyer m...@kotka.de wrote: Hi, maybe I don't understand the problem. Why can't the system provide some kind of local repository? The package system (deb, rpm, ports, whatever) just installs the dependencies there. A wrapper script reads in the dependencies and adds them to the classpath on program start. Nothing is downloaded. There might be several versions of a library installed. No global classpath. I think that's what maven/ivy do right now. Why wouldn't this work together with a packaging system? (I think FreeBSD shows the way to go: cooperation between the system and the language.) That's exactly what Debian does. For every Java package also provide the maven xml file and the jar is discoverable from maven. The installed packages on the local system acts as a local maven repo. http://wiki.debian.org/Java/MavenRepoSpec -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: building clojure-contrib without downloading clojure.jar from elsewhere
On Wed, Feb 3, 2010 at 11:43 PM, Stuart Sierra the.stuart.sie...@gmail.com wrote: On Feb 3, 2:03 am, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: I hope this will be added back into the repo soon. It's in now. Thanks. I uploaded clojure-contrib 1.1 debian package into the debian repos. It should hit the debian archive in a day or so and should be apt-get'able from the unstable tree. clojure itself is already in debian for a few months now. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: building clojure-contrib without downloading clojure.jar from elsewhere
On Thu, Feb 4, 2010 at 12:55 AM, Stuart Sierra the.stuart.sie...@gmail.com wrote: On Feb 3, 1:20 pm, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: I uploaded clojure-contrib 1.1 debian package into the debian repos. I hope that's the 1.1 release, not the current github master. yes, 1.1 release as I have written above. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
building clojure-contrib without downloading clojure.jar from elsewhere
Hi, I am trying to package clojure-contrib for Debian and one of the debian java packaging practices is that the build should not download any external dependencies. All the dependencies should be debian packages themselves. I tried building clojure-contrib with mvn -Dclojure.jar=path to locally built clojure.jar as detailed in the README.txt, but maven seem to ignore this and download the jar from the build server. To replicate this, please try removing ~/.m2/repository/org/clojure/clojure directory. I also tried passing the -o flag to maven, but it fails to take the local clojure.jar file. I am very new to java build systems like maven, so it is very likely that I am missing something. I will be happy to try out any suggestions I can get from here. thanks -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: building clojure-contrib without downloading clojure.jar from elsewhere
On Wed, Feb 3, 2010 at 1:12 AM, Rob Wolfe r...@smsnet.pl wrote: there are needed two things: 1. maven profile, which will be activated by -Denv=local 2. dependency defined with system scope and systemPath I can not find anything like that in clojure-contrib pom.xml. So I added this part to original pom.xml (just before the /project tag): Rob, thanks for educating me on the maven. I hope this will be added back into the repo soon. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
clojure-contrib build failure
I had been trying to build the master branch of clojure and clojure-contrib. clojure built just fine. I get a build failure while building clojure-contrib with the log as shown below. The various versions of the software are listed. * Debian GNU/Linux testing branch x86_64. $ mvn -version Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_0 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_IN, platform encoding: UTF-8 OS name: linux version: 2.6.32-trunk-amd64 arch: amd64 Family: unix $ java -version java version 1.6.0_0 OpenJDK Runtime Environment (IcedTea6 1.7pre) (6b17~pre3-1) OpenJDK 64-Bit Server VM (build 16.0-b10, mixed mode) The build log is pasted here: http://paste.lisp.org/display/94078 -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Clojure Conference Poll
On Sat, Jan 23, 2010 at 1:24 PM, Konrad Hinsen konrad.hin...@fastmail.net wrote: On 22 Jan 2010, at 22:15, Wilson MacGyver wrote: I vote let's turn this into a clojure vacation, and hold it in an exotic location. Otherwise, hey, Columbus Ohio is as good as any other city. :) My vote is for Paris, France :-) I vote for Bangalore, India. :-) -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: SLIME/Swank problem with swank.util.sys/get-pid and RuntimeMXBean
On Fri, Jan 8, 2010 at 12:57 PM, Richard Newman holyg...@gmail.com wrote: I don't want to have to use ELPA, or maven, or some other configuration management thing to get basic tools like an editing environment for the language up and running. Perhaps I should just bite the bullet and use the crazy configuration/package management things that the clojure community seems so enamored of (ELPA, maven, leiningen, etc...), but in the way I'm used to doing things, nothing more than the source code and a fairly simple system definition tool (like ASDF) are enough to get things done. It's not too say that there's room for improvement, but I like it when simple tools get the job done and I don't need to rely on a bunch of shell scripts, to have to modify classpaths, restart JVMs, etc... to get the code I want loaded. Perhaps I'm just ignorant of the proper clojure-y way to do things, so I'll hop off my soapbox now. I think I'm pretty familiar with the Clojure-y way to do things, and I also close the tab when I see ... using Maven. I am alien to the Java world and haven't still embrased ELPA, lein and other tools. Here is my setup which works fine for me: o. slime git://git.boinkor.net/slime.git o. swank-clojure git://github.com/jochu/swank-clojure.git o. clojure-mode git://github.com/jochu/clojure-mode.git It has worked quite nicely for me until now. I also discovered the other branch of swank-clojure, which seem to be what people are using more. I see that it does things like downloading jars etc etc. I would rather like it to leave them for other tools to do. I have no problem installing emacs scripts by hand. If so, I wouldn't be using it anyway, so I just don't see why ELPA and the other swank-clojure branch is trying to do things that other tools are supposed to do. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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
Re: Strange behavior seen when ints have leading zeros
On Thu, Nov 12, 2009 at 6:38 PM, Robert Campbell rrc...@gmail.com wrote: C:\dev\clojurejava -cp clojure.jar clojure.lang.Repl Clojure 1.1.0-alpha-SNAPSHOT user= (def grid1 [01 02 03 04 05 06 07]) #'user/grid1 user= grid1 [1 2 3 4 5 6 7] user= (def grid2 [01 02 03 04 05 06 07 08]) java.lang.NumberFormatException: Invalid number: 08 java.lang.Exception: Unmatched delimiter: ] java.lang.Exception: Unmatched delimiter: ) user= I guess that's because if you precede a number with 0, it is treated as Octal numbers and there is no Octal 8. :-) Just a guess. I may be wrong. -- Ramakrishnan -- 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 from new members are moderated - please be patient with your first post. 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