I'm also having this problem. I just started playing with Clojure, Lein and
Clooj and am working with the Halloway Programming Clojure book next to me.
I'm was just trying to do some file reading using
clojure-contrib.duck-streams and is working in Lein but somehow not in
Clooj. I can see the
Thanks everyone, in the apply function source code I see
([^clojure.lang.IFn f args]
(. f (applyTo (seq args
Seems the (applyTo (seq args)) returns arg parameters,
And the f is invoked only once:
(. f args)
--
--
You received this message because you are subscribed to the
Is there an implicit question there? If so, does this
(https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/IFn.java)
help?
'(Devin Walters)
On Aug 10, 2013, at 10:55 PM, drclj deepikaro...@gmail.com wrote:
Thanks everyone, in the apply function source code I see
On Sunday, August 11, 2013 1:18:52 AM UTC+2, Nelson Morris wrote:
I believe this is https://github.com/technomancy/leiningen/issues/1283.
Yes. As Nelson says, this is 1283.
As a workaround until 2.3.1 is out, downgrade by calling `lein upgrade
2.2.0` and then use uberjar from there.
-- JN
drclj deepikaro...@gmail.com writes:
Thanks everyone, in the apply function source code I see
([^clojure.lang.IFn f args]
(. f (applyTo (seq args
Seems the (applyTo (seq args)) returns arg parameters,
And the f is invoked only once:
(. f args)
I think you’re missing that `.` is a
Hi Alex,
I think I'll do that as a starter for 10, but most of my users don't know SQL
so it's only going to get us so far
Cheers
Adrian
On 10 Aug 2013, at 23:21, Alex Baranosky wrote:
You could possibly batch import it all into MySQL, and let people SQL query
over it.
On Sat, Aug 10,
Looks like a great tool. Thanks for the link
On 11 Aug 2013, at 02:13, Ignacio Thayer wrote:
Doesn't exactly fit the bill, but for doing this type of stuff at the repl,
we use babbage.
ignacio
cto/co-founder ReadyForZero.com
On Saturday, August 10, 2013 9:21:46 AM UTC-7, Adrian Mowat
Hi,
Is there a socket management with Clojure 1.5.1?
I found the create-server function in the clojure.contrib but (except any
error) the clojure.contrib is outdated with the last version of Clojure.
And I didn't find any clue about client socket management.
Should I wrap Java classes?
The workaround works fine, thanks for your help :)
I give below the workaround, thus everybody can get it:
$ lein clean lein compile lein uberjar
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Hi, Christian
If you look the sources of create-server, you will see it's using Java
sockets wrapped as Clojure functions. The same thing about Java
threads.
It's not a bad thing and soon or later you will find some Java object
wrapped somewhere.
IMHO, I don't think Clojure need something
Thanks for your answer.
I'm wrapping the Java methods so. Without regret or remorse :)
--
--
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 -
Should `nbsp;` be trimmed using `clojure.string/trim`? EOM
--
--
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
On Monday, 12 August 2013 02:24:30 UTC+5:30, Tim Visher wrote:
Should `nbsp;` be trimmed using `clojure.string/trim`? EOM
`nbsp;` is the representation of an HTML entity, which is technically not
whitespace. I guess `trim` should not remove it.
Shantanu
--
--
You received this message
nbsp; is closer an expression than a single character. A regexp replace
should be more suitable.
Le 11 août 2013 22:55, Tim Visher tim.vis...@gmail.com a écrit :
Should `nbsp;` be trimmed using `clojure.string/trim`? EOM
--
--
You received this message because you are subscribed to the
Hi,
I am thinking about how to use Cljx correctly in my projects (for
portability); I have few questions:
1. I understand the Cljx plugin generates .clj and .cljs source code in
target/classes destination. Does that mean, when I generate a JAR for
distribution it again must be processed by
Thanks for that link, I loved this tutorial!
On Saturday, August 10, 2013 3:13:52 PM UTC-3, Jacob Goodson wrote:
Here is where I started...
http://www.lisperati.com/clojure-spels/casting.html
I personally disagree about being so timid with macros, however, I do not
code Clojure with a
I think the expectation most people would have (I certainly do) is that it
behave identically to java.lang.String.trim() as described
here: http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#trim(),
so no, it most certainly should not. Besides, HTML is just one format,
there are
The problem is that clooj depends on leiningen 1 which used to have the
dependencies in the /lib directory of the project. Leiningen 2 use the
maven repo directory (typically ~/.m2) for dependencies and builds the
classpath directly to those jars, which you can check by running 'lein
Sorry, I should have been more clear. In the following the space at
the end of the string is a no break space and the first execution is
under clojurescript, the second under clojure.
user (clojure.string/trim 54 )
54
bible-plan.mcheyne :cljs/quit
:cljs/quit
Clojure's clojure.string/trim uses Java's String/trim, but
clojure.string/triml and trimr use Java's Character/isWhitespace to
determine which characters are white space to remove. CLJ-935 has a
suggested patch to make them all use Character/isWhitespace:
Looking at it as
(. f applyTo (seq args))
The object instance of IFn 'f' calls the method 'applyTo' with sequence
'args'.
From http://clojure.org/java_interop
(*.* instance-expr member-symbol)(*.* instance-expr (method-symbol args*))
or(*.* instance-expr method-symbol args*)
That makes
Hi All,
I've updated the library from 0.1.5 version with new features:
- handlers now can branch depending on exception data
(on :error [data]
(if ( data 5)
(escalate :too-big)
(continue data)))
- a additional `fail` handler for
22 matches
Mail list logo