Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Were any breaking changes made between alpha3 and RC1? I haven't spent much time trying to track down causes so it's very possible I'm mistaken, but I seem to be running into some weird behavior under RC1. Specifically, seem to be having trouble with `ring.middleware.reload/wrap-reload`:

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Alex Baranosky
I have been unable to run lein-swank since, I think, clojure-1.5.0-beta1. On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis ptaoussa...@gmail.comwrote: Were any breaking changes made between alpha3 and RC1? I haven't spent much time trying to track down causes so it's very possible I'm

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Both of these cases appear to relate to namespaces btw. Line 182 of swank/commands/basic.clj is the 3rd `let` form: (defslimefn load-file [file-name] (let [libs-ref @(resolve 'clojure.core/*loaded-libs*) libs @libs-ref ns-form (ns/read-file-ns-decl (java.io.File. file-name))

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Just confirming: both issues are indeed present in beta1 (and RC1), but not alpha3. Will go over the changelog tomorrow and try track this down. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sat, Dec 22, 2012 at 11:09:07AM -0500, Stuart Halloway wrote: Please test it. It would be fantastic if as many people as possible updated their projects and tested with the RC, so we can flush out issues now instead of in release. I have tried to build a RPM package of clojure-1.5.0-RC1

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Andy Fingerhut
If part of the script to build an RPM package is this command: ant then you should run the command ./antsetup.sh just before that. Without ./antsetup.sh you will see the error message you give below, because ant by itself does not pull in the necessary dependencies. Andy On Dec 23, 2012, at

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Stuart Sierra
On Sunday, December 23, 2012 1:11:31 PM UTC-5, JSchmitt wrote: I have tried to build a RPM package of clojure-1.5.0-RC1 for Feodra and have got the following error message: test: [java] Exception in thread main java.io.FileNotFoundException: Could not locate

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Sean Corfield
On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis ptaoussa...@gmail.comwrote: Specifically, seem to be having trouble with `ring.middleware.reload/wrap-reload`: Exception in thread main java.lang.IllegalArgumentException: contains? not supported on type: clojure.lang.LazySeq,

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sun, Dec 23, 2012 at 11:32:57AM -0800, Andy Fingerhut wrote: If part of the script to build an RPM package is this command: ant then you should run the command ./antsetup.sh just before that. Without ./antsetup.sh you will see the error message you give below, because ant by itself

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Andy Fingerhut
Are there no other RPMs that require Internet access to complete their build? e.g. no others that use Maven to pull in dependencies before building? If there is no provision for that, I'd open up the question to others with more experience in these matters: How would you recommend that someone

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sun, Dec 23, 2012 at 12:45:50PM -0800, Andy Fingerhut wrote: Are there no other RPMs that require Internet access to complete their build? e.g. no others that use Maven to pull in dependencies before building? Dependencies should be solved by the specification of BuildRequires statements

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Softaddicts
If find this odd, these days you need remote access to install things, wether it's Maven or some RPM repos is irrelevant. Pulling RPMs by hand is a nightmare, even worse than Maven, there is a myriad of RPM dependencies out there depending on your Linux distro. Jochen, I would suggest

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Softaddicts
Jochen, Official Clojure libs including test.generative already go through a strict build process using Hudson + test matrixes against multiple JVM implementations. You are creating an RPM from components that are not managed through RPMs but through an alien build process. Do you intend to

EOF when executing lein trampoline cljsbuild repl-listen

2012-12-23 Thread Mark
Hi, I'm trying to make my way through the modern-cljs tutorials and running into a blocker: I'm on tutorial 2 (https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-02.md?.mdown) and when I try lein trampoline cljsbuild repl-listen, I get Exception in thread main

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
Sean Corfield writes: On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis ptaoussa...@gmail.comwrote: Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10: Exception in thread main java.lang.IllegalArgumentException: No matching ctor found for class

[ANN] dj.plurality, generic dispatch decomplected

2012-12-23 Thread Brent Millare
Previously discussed here https://groups.google.com/forum/?fromgroups=#!searchin/clojure/plural/clojure/KC-zfUE1rXk/ifURo1ReSugJ In that thread, Chris Ford talked about opening up the implementation of the dispatch function of multimethods. I've implemented that idea but I go further to

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 7:21 PM, Toby Crawley t...@tcrawley.org wrote: Sean Corfield writes: On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis ptaoussa...@gmail.comwrote: Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10: Exception in thread main

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
Jeff Dik writes: This is also working for me with clojure 1.5.0-RC1: https://clojars.org/org.clojars.chouser/lein-swank The change to lein-swank to load the proper swank-clojure is already on master[1] - is chouser's version just a release with that change? [1]:

Can't get ritz-swank working

2012-12-23 Thread Michael Bradley, Jr.
I'd like to move away from lein-swank and swank-clojure, since they're noted as deprecated (though still working for me in the context of Clojure 1.4.0 and Emacs 24). I've tried working with nREPL + Emacs, but it just doesn't seem as nice what I get with lein-swank (stacktraces and other

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley t...@tcrawley.org wrote: Jeff Dik writes: This is also working for me with clojure 1.5.0-RC1: https://clojars.org/org.clojars.chouser/lein-swank The change to lein-swank to load the proper swank-clojure is already on master[1] - is chouser's

Use repeat with a function argument

2012-12-23 Thread Andrew Care
I'm trying to use repeat with a function argument. This works: (reduce + (filter (fn [number] (zero? (some #{0} (map mod (take 2 (repeat 9)) [3 5] (range 1 1000))) This doesn't: (reduce + (filter (fn [number] (zero? (some #{0} (map mod (take 2 (repeat number)) [3 5] (range 1 1000)))

Re: EOF when executing lein trampoline cljsbuild repl-listen

2012-12-23 Thread George Oliver
On Sunday, December 23, 2012 3:30:53 PM UTC-8, Mark wrote: I figure the reader is trying to load the project.clj but I'm executing from the project's root directory. I'm using lein 2.0 preview 10 on a Windows 7 machine if that matters. This might be a Windows + trampoline problem.

New Functional Programming Job Opportunities

2012-12-23 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently:Software Engineer -- Security and Scalability (clojure) at Brightcovehttp://functionaljobs.com/jobs/119-software-engineer-security-and-scalability-clojure-at-brightcoveCheers,Sean MurphyFunctionalJobs.com -- You

Re: Use repeat with a function argument

2012-12-23 Thread Meikel Brandmeyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am 24.12.12 04:20, schrieb Andrew Care: Why can I use (repeat 9) and not (repeat number)? Because you call zero? on nil, which doesn't work. Instead of (zero? (some #{0} ...)) use (some zero? ...). Kind regards Meikel -BEGIN PGP

Re: Use repeat with a function argument

2012-12-23 Thread Marko Topolnik
*repeat* is not supposed to work with functions, but there's *repeatedly.* On Monday, December 24, 2012 4:20:23 AM UTC+1, Andrew Care wrote: I'm trying to use repeat with a function argument. This works: (reduce + (filter (fn [number] (zero? (some #{0} (map mod (take 2 (repeat 9)) [3 5]