Re: why is assert-args private?

2012-02-04 Thread Stuart Halloway
In clojure's core.clj, assert-args is marked with ^{:private true}. Why? Seems like something that would be useful in any macro definition, not just the ones in core.clj... A similar argument could be made for several of the other couple of dozen private names in core.clj. They are not,

Re: why is assert-args private?

2012-02-04 Thread Cedric Greevey
On Sat, Feb 4, 2012 at 9:32 AM, Stuart Halloway stuart.hallo...@gmail.com wrote: In clojure's core.clj, assert-args is marked with  ^{:private true}. Why? Seems like something that would be useful in any macro definition, not just the ones in core.clj... A similar argument could be made for

Getting Started

2012-02-04 Thread JayR
Should the getting started instructions be something like: java -cp clojure-1.3.0.jar clojure.main Instead of: java -cp clojure.jar clojure.main -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Leiningen survey results

2012-02-04 Thread Ryan Doenges
Now I want to get a patch into Leiningen so I can get a sticker! On Wed, Feb 1, 2012 at 3:12 PM, Phil Hagelberg p...@hagelb.org wrote: I just finished up summarizing the results for the Leiningen survey I posted a few weeks ago. We ended up with just over 300 answers, so if you're interested

Comments in .clj file appear not to work

2012-02-04 Thread octopusgrabbus
I downloaded seesaw-repl-tutorial.clj. which is attached. When I enter (load-file seesaw-repl-tutorial.clj) I get this error: CompilerException java.lang.RuntimeException: Unable to resolve symbol: $ in this context,

Re: Comments in .clj file appear not to work

2012-02-04 Thread Tassilo Horn
octopusgrabbus octopusgrab...@gmail.com writes: Hi! When I enter (load-file seesaw-repl-tutorial.clj) I get this error: CompilerException java.lang.RuntimeException: Unable to resolve symbol: $ in this context,

Re: why is assert-args private?

2012-02-04 Thread Stuart Halloway
In clojure's core.clj, assert-args is marked with ^{:private true}. Why? Seems like something that would be useful in any macro definition, not just the ones in core.clj... A similar argument could be made for several of the other couple of dozen private names in core.clj. They are not,

Re: Comments in .clj file appear not to work

2012-02-04 Thread octopusgrabbus
Thanks. -- 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, send email

Re: why is assert-args private?

2012-02-04 Thread Cedric Greevey
On Sat, Feb 4, 2012 at 1:22 PM, Stuart Halloway stuart.hallo...@gmail.com wrote: Again, the same argument could be made about every other private function in core, or in any other library. I doubt it. Most of the times those functions aren't particularly useful outside of the one place they're

Re: why is assert-args private?

2012-02-04 Thread Alex Baranosky
I agree with Stu, I think the point is that assert-args isn't a core function to Clojure. It is a utility function for error reporting within macros. For that reason it makes more sense to put assert-args into a util library like https://github.com/clojure/tools.macro. Alex -- You received

Re: why is assert-args private?

2012-02-04 Thread Cedric Greevey
On Sat, Feb 4, 2012 at 3:23 PM, Alex Baranosky alexander.barano...@gmail.com wrote: I agree with Stu, I think the point is that assert-args isn't a core function to Clojure.  It is a utility function for error reporting within macros.  For that reason it makes more sense to put assert-args into

ANN: clj-aws-s3 0.2.0

2012-02-04 Thread James Reeves
I recently found myself wanting to use some of the more advanced features of Amazon S3, such as using a delimiter to filter an object list. There didn't seem to be any existing Clojure S3 libraries that did this, so I've written one: https://github.com/weavejester/clj-aws-s3 It follows the AWS

Re: why is assert-args private?

2012-02-04 Thread Stuart Halloway
alexander.barano...@gmail.com wrote: I agree with Stu, I think the point is that assert-args isn't a core function to Clojure. It is a utility function for error reporting within macros. For that reason it makes more sense to put assert-args into a util library like

Re: WebSockets with Clojure

2012-02-04 Thread Martin Jul
In our perf lab tests for a trading system we have gone up to around 10,000 concurrent connections and up to 20-40k messages per second with sub-10 millisecond latency on web sockets on a single server before things start breaking down (in this case the data is generated on another machine so the

ClojureScript console.log

2012-02-04 Thread Thomas Heller
Hey, I'm playing with ClojureScript and one thing that would help me out in a big way would be to print out data at certain points. I can call (.log js/console test 1 2 3 4) and it prints the expected results, but whenever I want to log a Clojure Object I just get its classname and can inspect

Re: New Version of ClojureScript One

2012-02-04 Thread Christofer Jennings
Thanks All for the replies! The lein install org.clojure/clojure 1.2.1 did not work for me. Got the same missing method error. But the delete-me project approach did work. :-) Now to have some fun! ,chris On Jan 31, 2012, at 9:01 AM, Craig Andera wrote: This is a problem with the current

Re: ClojureScript console.log

2012-02-04 Thread Stuart Sierra
There's a G.Closure library function -- goog.debug.expose -- that generates a string representation of a JavaScript object. http://closure-library.googlecode.com/svn/docs/closure_goog_debug_debug.js.html -S -- You received this message because you are subscribed to the Google Groups Clojure

Re: ClojureScript console.log

2012-02-04 Thread David Nolen
On Sat, Feb 4, 2012 at 2:14 PM, Thomas Heller th.hel...@gmail.com wrote: Hey, I'm playing with ClojureScript and one thing that would help me out in a big way would be to print out data at certain points. I can call (.log js/console test 1 2 3 4) and it prints the expected results, but

Gelfino

2012-02-04 Thread ronen
Hey, Iv just released Gelfino, a tiny embedded GELF server implemented in Clojure, Gelfino enables to filter GELF streams and define actions that will be taken upon them, as an example its easy to forward messages from graylog2-server into it and then forward them into fnordmetric. For further

Re: Is there a reason that def- isn't part of the core lib?

2012-02-04 Thread Alex Baranosky
I'd be for deprecating defn- - it creates symmetry (no defmacro-, no def-, defmulti- etc) - The '-' is too small a visual cue to distinguish it from defn. In short, it is hard to read. I personally prefer the obviousness of (defn ^:private [x] :foo) -- You received this message

[ANN] CongoMongo 0.1.8 released

2012-02-04 Thread Sean Corfield
Updates MongoDB Java driver to 2.7.3 Updates clojure.data.json to 0.1.2 (performance) Adds multi-version testing against Clojure 1.2.1 / 1.4.0-beta1 and changes default dependency to Clojure 1.3.0 Numerous documentation fixes -- Sean A Corfield -- (904) 302-SEAN An Architect's View --