You can try the eclipse plug in for clojure.
It is easy to install and provided with its own clojure.jar and
clojure-contrib.jar.
here is the link: http://code.google.com/p/clojure-dev/
you will need Eclipse though.
--~--~-~--~~~---~--~~
You received this message
You can try the eclipse plug in for clojure.
It is easy to install and provided with its own clojure.jar and
clojure-contrib.jar.
here is the link: http://code.google.com/p/clojure-dev/
you will need Eclipse though.
--~--~-~--~~~---~--~~
You received this message
Hi all,
I'm currently working on a small project to get started with clojure.
I can't solve this problem which seem to be related to the reader.
So I ran some test against it.
-here's the clojure code:
(def text1 "testing thread")
(def T (proxy [Thread] []
Thanks a lot for this thorough explanation. I appreciate it.
Changing \"(println text1)\" to \"(println user/text1)\" actually do
the job.
I had to read it several time to begin to understand but I do have a
better understanding of how compilation and namespaces work now.
Thank you Stephen.
--~-
Here is a quick newbie question.
(def test1 "test1")
(let [test2 "test2"]
(eval (read-string "(println test1)"))
(eval (read-string "(println test2)"))
)
-output
test1
1:1 user=> java.lang.Exception: Unable to resolve symbol
Thanks for your quick answer.
On May 1, 3:53 pm, Christophe Grand wrote:
>
> Whate are you trying to achieve?
>
I'll try to clarify my problem.
I'm a newcomer to clojure (enthusiast about it) and I'm working on
small project to get familiar with clojure.
The idea consist of making a jabber bo
Well thank you Christophe.
I didn't know it was possible to redirect the output like this. Even
got the exception working.
Thank you for your expertise and your time, it works perfect, just
what wanted.
--~--~-~--~~~---~--~~
You received this message because you ar
this the expected clojure behavior? or what I am doing wrong?
-Julien
--~--~-~--~~~---~--~~
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
To unsubsc
, thanks for the advices and solutions.
Using type hint solves the problem, but if I put the def form in a try
it fails.
So I assume top level def cannot occur in a try, but it's ok I don't
need that anymore.
-Julien
--~--~-~--~~~---~--~~
You receiv
I'm interested to do audio synthesis and eventually audio DSP on the
JVM using the Java sound API and I think that it could be fun to do
that following the functional programming paradigm.
I don't intend to build a huge library but just to try some experiment
on my own to better understand how dig
> Out of curiosity, how long does that function take to execute in Java?
The java version is much faster even with much more work to do, which
put me perplex.
I didn't check how much it takes, must be about 100ms.
Thx for the tips, though that doesn't really improve anything.
My guess is that i
On May 10, 2:08 am, David Nolen wrote:
> What's a sample set of values you would pass to this function?
(byte-array-sound 2000 44100 10)
here frequency would be the pitch of the sound generated 2000Hz,
sample-rate set to 44100Hz.
Thank you David, it does work faster now.
I uploaded the
here's a improved version of the byte-array-sound function which is
probably easier to understand. based upon a real mathematical formula.
(defn byte-array-sound-2 [frequency sample-rate nb-frame]
(let [sample-array (make-array (. Byte TYPE) (* nb-frame 2))
sample-interval (/ 1 (double
What about colocating this conference with say OOPSLA (or ECOOP). You
will probably get good attendance.
On Jan 26, 1:29 pm, Michel Vollebregt wrote:
> +1 for Europe
>
> On Jan 26, 12:22 am, mudphone wrote:
>
> > +1 Paris
>
> > On Jan 22, 11:54 pm, Konrad Hinsen wrote:> On
> > 22 Jan 2010, at
so
(rotate [[1 2 3] [4 5 6]])
would yield
([1 4] [2 5] [3 6])
How can I achieve this?
Many thanks for this great language.
-Julien
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
Thanks Timothy. That did the trick. One small comment below.
On Feb 19, 12:11 am, Timothy Pratley wrote:
> On 19 February 2010 18:04, Julien wrote:
>
>
>
> > Question #1
>
> > I want to write a vararg function that does something like this:
>
> > (map vect
Did you run the test with the -server jvm option? This command line
argument is usually recommended when measuring performance.
-Julien
On Mar 31, 10:56 am, Krukow wrote:
> On Mar 29, 10:21 pm, Krukow wrote:> Hello,
> [snip..]
> > What was surprising to me wasn't that
I just ported an app with significant CLJX usage (55 files) to reader
conditionals and it works perfectly!
It looks like there is a small issue related to map literal containing
comments but I am not sure if it has been reported yet.
Julien
Le jeudi 21 mai 2015 13:31:16 UTC-3, Alex Miller a
My bad I was using an older beta. With latest RC1 the issue goes away.
Julien
Le mardi 26 mai 2015 23:24:41 UTC-3, Alex Miller a écrit :
>
> No, please report if so.
>
> On Tuesday, May 26, 2015 at 8:39:32 PM UTC-5, Julien wrote:
>>
>> I just ported an app with signific
ithub issue would help start discussions?
Julien
Le samedi 22 mars 2014 22:41:04 UTC-3, Joel Holdbrooks a écrit :
>
> Greetings everyone,
>
> About a year ago I began working on Garden and in the short time the
> library has been around it's grown a bit. Although many folks se
You might want to give Eclipse MAT (http://www.eclipse.org/mat/) a try. It
can be used as a standalone tool.
Julien
Le mardi 17 septembre 2013 12:45:41 UTC-3, Brian Craft a écrit :
>
> I did, of course, spend a lot of time with google before posting. All of
> the hits point to jcons
our license is incompatible with the
license of one of the dependencies) (sonatype has some product doing that:
http://www.sonatype.com/application-health-check)
Maybe some sort of extension mechanism could be helpful?
Julien
Le mercredi 30 octobre 2013 21:09:02 UTC-3, Anton Podviaznikov a éc
Impressive!
Did you run some benchmark? How does it compare to ring-jetty and http-kit?
Julien
Le jeudi 9 janvier 2014 12:42:31 UTC-3, Xfeep Zhang a écrit :
>
> [image: Alt
> text]<https://github.com/xfeep/nginx-clojure/blob/master/logo.png>Nginx-Clojure
>
> is a Ng
Hi Everyone.
I have been reading the "Joy of Clojure" with great interest, but I
may have noticed a possible problem with listing 11.5. For those of
you who don't have the book, here is the listing:
(defn make-safe-array [ t sz]
(let [a (make-array t sz)]
(reify
SafeArray
(count
not
quite sure what the incremental compilation does exactly).
Interestingly resulting js file seems correct.
Let me know if I should open a JIRA/create a simple reproducing example.
Thanks for the awesome work on ClojureScript,
Julien
Le dimanche 8 septembre 2013 20:42:51 UTC-3, Dav
Hi,
that looks like a tools.reader version conflict. You can get more details about
all your project dependencies using `lein deps :tree`. Make sure the only
tools.reader is the one coming from ClojureScript.
Julien
Le vendredi 10 avril 2015 23:42:35 UTC-3, Ravindra Jaju a écrit :
>
:refer
[defroute]]
Is the proper way to include macros to rely on the top-level `require-macros`
keyword?
Thanks,
Julien
Le vendredi 10 octobre 2014 09:07:31 UTC-3, David Nolen a écrit :
> ClojureScript, the Clojure compiler that emits JavaScript source code.
>
>
>
> README
]
abstraction, notably media-type driven body transformation via a
representor [3] protocol.
This first release ships with a Clojure client based on OkHttp and a
ClojureScript client based on XHR.
Julien
[1] https://github.com/jeluard/happy/
[2] https://github.com/jeluard/happy#interceptor
[3] https
definition reusability, greatly
improves properties support and rationalizes the syntax. I consider its API
fairly stable at this stage.
Next release [4] will focus on introducing a new syntax to unify document
definition with dynamic document changes. [5]
Feedback welcomed!
Thanks,
Julien
[1
ider that point.
That said clojure/clojurescript are not regular dependency and by defining a
version you also declare the minimum language features needed by your library.
That's definitively a grey area as both concepts are merged now.
Julien
Le samedi 7 juin 2014 11:08:31 UTC-3, Nikita Belog
? Is it worth my time to investigate that?
Also I am not entirely clear when the output-dir property should be used and
how it interacts with output-to and source-map. Could you clarify that?
Thanks,
Julien
Le lundi 28 octobre 2013 01:25:31 UTC-3, David Nolen a écrit :
> Given the source
files (at least goog/base.js) and call goog.require.
Is that something that could be automatically added to the entry point js?
Thanks,
Julien
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
(handle-validation-errors validation))
Any guidance appreciated.
Cheers,
Julien
--
--
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 moderate
Thank you all for your answers,
I like Marko's approach.
What I had in mind, related to OP's post, would be a middleware that does
> (binding [*validation-failures* []]
>(handler req)
>(do-something-about *validation-failures*))
> There would be a global function, such as *add-failure
UTC+1, Julien Dreux wrote:
>
>> Thank you all for your answers,
>>
>> I like Marko's approach.
>>
>> What I had in mind, related to OP's post, would be a middleware that does
>>> (binding [*validation-failures* []]
>>>(handler req)
y/throw was becoming nightmarish very quickly.
Thank you all for your input on this.
Julien
On Thursday, March 21, 2013 3:27:07 AM UTC-4, Marko Topolnik wrote:
>
> On Wednesday, March 20, 2013 11:29:55 PM UTC+1, James Reeves wrote:
>
>> On 20 March 2013 16:41, Marko Topolnik wrote:
on a
partially constructed object. You may be able to reason otherwise, but
it is simply confusing to do so. Just access shared mutables in a safe
manner and you will be OK.
On Jul 29, 3:38 pm, Ken Wesson wrote:
> On Fri, Jul 29, 2011 at 3:19 PM, Julien wrote:
> > This listing is an a
Can lein install create checksum (MD5, SHA-1) files when installing
artifacts in a local Maven repository? Heroku requires artifacts be
deployed with checksum files.
lein install generates a pom.xml, but when running mvn install
-DcreateChecksum=true from that pom.xml, mysteriously the .cl
On Tuesday, March 27, 2012 4:54:56 PM UTC-6, Phil Hagelberg wrote:
>
> Julien Chastang writes:
>
> > Can lein install create checksum (MD5, SHA-1) files when installing
> > artifacts in a local Maven repository? Heroku requires artifacts be
> > deployed with checksum f
Are reader macros and "regular" macros handled differently by the
compiler? If possible, please give some contrasting details about what
the compiler is doing in each case.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
for these cases wouldn't be simpler to paste the map in a string and to create
a function that could parse such a json-compatible map into a clojure map ?
A.
On Dec 20, 2011, at 1:36 PM, Alex Baranosky wrote:
> For what it's worth, I think colon's as whitespace in maps adds confusion,
> witho
41 matches
Mail list logo