*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]
-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 SIGNATU
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
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
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)))
W
On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley 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 version
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 aspe
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]:
https://github.com/technom
On Sun, Dec 23, 2012 at 7:21 PM, Toby Crawley wrote:
>
> Sean Corfield writes:
>
>> On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis
>> wrote:
>>> Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10:
>>> Exception in thread "main" java.lang.IllegalArgumentException: No matching
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 decomp
Sean Corfield writes:
> On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis
> wrote:
>> 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 clojure.lang.Compiler$CompilerExceptio
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" clojure.lang
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
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 implementi
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 statement
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 c
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
On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis wrote:
> 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, compiling:(routes.clj:294:3)
> L
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
> clojure/test/generative/r
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,
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
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 clojure@googlegroup
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))
ns
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 wrote:
> 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 b
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`:
Except
25 matches
Mail list logo