Re: Renaming 1.1.0-alpha-SNAPSHOT is causing problems with projects on Clojars

2009-12-22 Thread bOR_
solved my problem by figuring out that in ubuntu, leiningen / maven needs to have the proxy settings specified in ~/.m2/settings.xml [INFO] snapshot incanter:incanter:1.0-master-SNAPSHOT: checking for updates from central [WARNING] repository metadata for: 'snapshot incanter:incanter:1.0-

Re: eval performance

2009-12-22 Thread Gabi
Superb! This is exactly what I needed.. A way to get rid of the awkward intern and boost performance. Have you progressed far with your GP experimenting ? On Dec 22, 4:17 am, kyle smith the1physic...@gmail.com wrote: Here's the macro I used when I dabbled in Genetic Programming: user

Recommendation for Clojure Indentation tool

2009-12-22 Thread Gabi
I need a simple command-line tool to indent Clojure source files. Any recommendation ? -- 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

Re: Clojure and c++ and a bit more

2009-12-22 Thread mac
On Dec 21, 3:09 pm, pmf phil.fr...@gmx.de wrote: On Dec 20, 7:22 pm, nathaniel nathan...@photino.org wrote: Does anyone know of Clojure features which rely on Java features that would be prohibitively difficult to implement in C++? You might run into the problem than any C++ garbage

Re: Second Lisp to Learn

2009-12-22 Thread blackdog
Thanks for the links, the last gives a good summary. I think newlisp is great for scripting, if i were on the jvm on a large project I'd use clojure, but for tasks that I might use ruby,python, or perl for i find newlisp refreshingly clean and direct. It may be warty, if warty means practical.

Re: Renaming 1.1.0-alpha-SNAPSHOT is causing problems with projects on Clojars

2009-12-22 Thread Baishampayan Ghose
Phil, I like the new naming scheme, but would it be possible to add 1.1.0- alpha-SNAPSHOT back to the repository (in addition to the new names), so that builds dependent on projects in Clojars will be able to download their dependencies correctly again, at least until everybody gets a chance

Re: Clojure + Music Notation

2009-12-22 Thread Miron Brezuleanu
Hello, On Mon, Dec 21, 2009 at 11:09 PM, PM peter.mccull...@gmail.com wrote: I'm a new Clojure user.  I've been working my way through SICP and the videos that accompany it, and I've also read the Clojure book.  I already do a lot of work with a music notation library (JMSL) in Java, and I'd

Re: Recommendation for Clojure Indentation tool

2009-12-22 Thread Laurent PETIT
There is John Harrop's one, here http://groups.google.com/group/clojure/browse_thread/thread/6a16bb89340f46d8/fb03dffa410e919a?lnk=gstq=harrop+indent#fb03dffa410e919a 2009/12/22 Gabi bugspy...@gmail.com I need a simple command-line tool to indent Clojure source files. Any recommendation ?

Re: Renaming 1.1.0-alpha-SNAPSHOT is causing problems with projects on Clojars

2009-12-22 Thread liebke
I uploaded a version of Compojure to Clojars, that depends on the renamed clojure jar, as temporary fix. Use the following line to your project.clj file: [org.clojars.liebke/compojure 0.3.1-master] I mention this problem here: http://incanter-blog.org/2009/11/29/incanter-webapp/ David On Dec

Re: eval performance

2009-12-22 Thread kyle smith
I haven't touched it in a while, but I'm going to pick it back up soon. -- 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

Re: Why use monads

2009-12-22 Thread Chouser
On Mon, Dec 21, 2009 at 7:18 PM, jim jim.d...@gmail.com wrote: Just posted a short piece on why monads are useful. This was prompted by some conversations last week with some folks. Comments, questions and criticisms welcome. http://intensivesystems.net/tutorials/why_monads.html Thanks for

Re: Why use monads

2009-12-22 Thread jim
Chouser, You're right that maybe-comp is simpler. Once you realize that the functions you want to compose are monadic functions under the maybe-m monad, you get that composition for 'free', with no further mental effort. With such a simple example, it's hard to see the benefit, but with more

Re: text flow - a trivial generator of RFC like ASCII call flows (sequence diagrams)

2009-12-22 Thread Richard Newman
Thanks, look very interesting! On what SIP server did you try it, only Sailfin? Yes, just SailFin. It should work seamlessly with SIPMethod, too, and is likely to work with any SIP Servlet-compliant container. I've never used WebLogic/OCCAS. -- You received this message because you are

Re: Clojure + Music Notation

2009-12-22 Thread Mark Engelberg
Despite what others have said, I'm going to chime in and say that I think an immutable hierarchy is going to be awkward for the use case you describe. In your example, notes are buried fairly deep in a hierarchy. Now if you always tend to make manipulations by starting from the root score node

Using map on multiple collections.

2009-12-22 Thread Nicolas Buduroi
Hi, today I needed to use the map function on multiple collections which didn't had all the same length. In this case, it returns a sequence of the size of smallest one. But the problem I was facing was required to map until the end of the longest, padding the smaller ones with a default value. I