Helluw.
I currently got two packages for Sublime aimed for Clojure.
Enhanched Clojure
https://github.com/Foxboron/SublimeClojure
ClojureDoc-Search
https://github.com/Foxboron/ClojureDoc-Search
Looking at the files you have made, it thought it could be a good idea to
try incorporate all this
Hey guys,
Given some recent work I've been doing with RxJS [1], I ended up writing a
small Clojurescript wrapper for it.
The idea of being familiar with a common API in multiple environments
(Java, Javascript and Clojurescript) is what triggered this approach.
The README contains sample
Hi all,
If the function executed in a future throws an error it is printed out in
the repl immediately. If that function is executed in a future which
itself is executed in a future then it isn't.
For example, imagine somebody wrote the following code (please, suspend
belief and just accept
Hi,
I am trying to get clojure-test-mode working in emacs
from https://github.com/technomancy/clojure-mode.
I have the nrepl working great, the problem is if I C-c, C-, in a test file
then I get the
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException:
clojure.test.mode,
https://github.com/technomancy/clojure-mode/issues/146#issuecomment-15447065
provides one solution - navigate to the source code and then start nrepl.
On Tuesday, 21 May 2013 11:37:19 UTC+1, Colin Yates wrote:
Hi,
I am trying to get clojure-test-mode working in emacs from
That's helpful for both clj and non-clj work, thanks.
Cygwin Sublime users might be interested in a quick little rc file I wrote
to let you use Unix paths with ST2 on the command line:
https://gist.github.com/manutter51/5608004
Just a bit OT, but I thought it might be of use to some ST/Clojure
Looks like a bug, please open a ticket in JIRA with the example code.
Thanks!
David
On Tue, May 21, 2013 at 1:16 AM, Praki praki.prak...@gmail.com wrote:
Hi,
For reasons I cant quite fathom, lein cljsbuild generates Symbol X is
not a protocol warning. I am using clojure 1.5.1 and cljsbuild
The following idea came to me in the shower, sort of out of the blue, and I
don't know why I didn't think of it before(I'm disappointed with myself)
so, why not use the same thing as clojure does? even though it does it in
java, you can do it in clojure, the only thing is that you have to do it
Howdy,
I am using clojure.test and have some questions of how to write idiomatic
Clojure. This really isn't about testing at all per-se.
First - I know about fixtures to get (at least) the same as JUnit's
before/after behaviour.
My code is a bloomy. You can configure the bloomy and it does
= (future (swap! atom inc 0))
#core$future_call$reify__6267@38db2b7e: :pending
= @(future (swap! atom inc 0))
ClassCastException clojure.core$atom cannot be cast to clojure.lang.Atom
clojure.core/swap! (core.clj:2161)
(both in ccw, but i notice that the first statement does throw in lein repl)
Perhaps you're looking for fixtures?
http://thornydev.blogspot.co.uk/2012/09/before-and-after-logic-in-clojuretest.html
U
On 21 May 2013 15:17, Colin Yates colin.ya...@gmail.com wrote:
Howdy,
I am using clojure.test and have some questions of how to write idiomatic
Clojure. This really
Hi Ulises,
I don't think I am as that would require essentially a fixture per distinct
combinations of test state, which is almost the same number of tests.
Have I missed something?
On 21 May 2013 15:51, Ulises ulises.cerv...@gmail.com wrote:
Perhaps you're looking for fixtures?
I think I would use a macro:
(defn with-bloomy-fn [bloomy body]
(try
(body)
(finally
(shut-down bloomy
(defmacro with-bloomy [bloomy body]
`(with-bloomy-fn ~bloomy (fn [] ~@body)))
(deftest my-test
(with-bloomy (create-a-bloomy)
(...))
FYI code is untested, typing
Thanks Gaz,
I was expecting a macro to be the answer, and seeing how you have used a
macro to glue together two functions is really helpful, so thanks a bunch!
On 21 May 2013 16:21, gaz jones gareth.e.jo...@gmail.com wrote:
I think I would use a macro:
(defn with-bloomy-fn [bloomy body]
Hey Colin,
Apologies, I missed your First - I know about fixtures... line :)
I'd probably +1 Gaz's macro (I've not tested it either but it looks
reasonable.)
On 21 May 2013 16:05, Colin Yates colin.ya...@gmail.com wrote:
Hi Ulises,
I don't think I am as that would require essentially a
No worries ;)
On 21 May 2013 17:18, Ulises ulises.cerv...@gmail.com wrote:
Hey Colin,
Apologies, I missed your First - I know about fixtures... line :)
I'd probably +1 Gaz's macro (I've not tested it either but it looks
reasonable.)
On 21 May 2013 16:05, Colin Yates
I tend to have macros for different types of setup/teardowns. Mostly
because clojure.test fixtures always want to wrap *every* test in a file.
On Tue, May 21, 2013 at 9:41 AM, Colin Yates colin.ya...@gmail.com wrote:
No worries ;)
On 21 May 2013 17:18, Ulises ulises.cerv...@gmail.com wrote:
I'm trying to build this project: https://github.com/clojure-android/clojure
with
ant command. It sarts working, but I get this output with errors:
Buildfile:
C:\Users\Admin\Downloads\clojure-android\clojure-android\build.xml
clean:
[delete] Deleting directory
Did you download the Android JAR?
http://www.java2s.com/Code/Jar/a/Downloadandroid32jar.htm
22.05.2013, 04:52, Alex Fowler alex.murat...@gmail.com:
I'm trying to build this project: https://github.com/clojure-android/clojure
with ant command. It sarts working, but I get this output with
Nope, the installation instruction in the readme of the project says
nothing about this one (i'm a newb to android development). So if I
download it, where I put it?
On Tue, May 21, 2013 at 11:59 PM, Kelker Ryan theinter...@yandex.comwrote:
Did you download the Android JAR?
Elastisch [1] is a small, easy to use, feature complete Clojure client for
ElasticSearch.
1.1 introduces a few minor feature and one major one: a new native client
with the same API as the existing HTTP client. Switching between the two
won't be hard!
Release notes:
Did you run ./antsetup.sh before trying to build with ant? 22.05.2013, 05:01, "Alex Fowler" alex.murat...@gmail.com:Nope, the installation instruction in the readme of the project says nothing about this one (i'm a newb to android development). So if I download it, where I put it?On Tue, May 21,
I never used that lein plugin but the output is quite clear:
Warning: JRuby home /Users/timothyw/Tools/jruby-1.4.0 does not exist:
It seems like your jruby home is not properly configured, my favourite
way to achieve this is to use
https://github.com/sstephenson/ruby-build
LoadError: no such
Nope, I am on Windows :D.. I guess I could re-write this one into a *.bat
file... looking inside the file, however, does not give me a clue on how
it will help me aside from that maybe maven will somehow manage to reolve
the deps...
On Wed, May 22, 2013 at 12:18 AM, Kelker Ryan
What's wrong with the lein-droid plugin? https://github.com/clojure-android/lein-droid 22.05.2013, 05:21, "Alex Fowler" alex.murat...@gmail.com:Nope, I am on Windows :D.. I guess I could re-write this one into a *.bat file... looking inside the file, however, does not give me a clue on how it
Thanks all. D
--
--
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,
26 matches
Mail list logo