[ANN] clj-toml 0.2.0

2013-02-25 Thread Luca Antiga
Quick announcement: clj-toml 0.2.0 is available on Clojarshttps://clojars.org/clj-toml . clj-toml https://github.com/lantiga/clj-toml is a TOMLhttps://github.com/mojombo/tomlparser for Clojure. It was written on top of the Kern https://github.com/blancas/kern library by Armando Blancas

[ANN] vectorz-clj 0.6.0

2013-02-25 Thread Mikera
Hi All, Pleased to announce the latest release of vectorz-clj, a high performance vector and matrix math implementation for Clojure. GitHub site: https://github.com/mikera/vectorz-clj Clojars: https://clojars.org/net.mikera/vectorz-clj Key features: a) 100% pure JVM code (no native libraries

Re: [ANN] clj-toml 0.2.0

2013-02-25 Thread Baishampayan Ghose
Nice! I was thinking about writing a parser myself but you beat me to the punch :) ~BG On Mon, Feb 25, 2013 at 2:56 PM, Luca Antiga luca.ant...@orobix.com wrote: Quick announcement: clj-toml 0.2.0 is available on Clojars. clj-toml is a TOML parser for Clojure. It was written on top of the Kern

Re: [ANN] clj-toml 0.2.0

2013-02-25 Thread Luca Antiga
Ah :-) Nothing helps like being sick on a weekend... Luca On Monday, February 25, 2013 11:19:25 AM UTC+1, Baishampayan Ghose wrote: Nice! I was thinking about writing a parser myself but you beat me to the punch :) ~BG On Mon, Feb 25, 2013 at 2:56 PM, Luca Antiga

Re: suggest to have defn/new/throw/etc.. allow evaluating ...maybe?

2013-02-25 Thread AtKaaZ
Thank you very much Tim. I will use the eval one with thrown? On Mon, Feb 25, 2013 at 6:49 AM, Tim Reinke t...@mostcallmetim.com wrote: It's nice to see some input validation! It seems your problem, ultimately, is the testability of macros. You can wrap the call to the macro in an eval

was there a time when clojure empty seqs were falsy?

2013-02-25 Thread Jim - FooBar();
I found this code snippet [1] written by Rich but presumably using a very old version of Clojure. The thing that stand out the most is this at the bottom (the 'correct' fn): (or (known [word] *nwords*) (known (edits1 word) *nwords*) (known-edits2 word *nwords*) [word]) It

Re: was there a time when clojure empty seqs were falsy?

2013-02-25 Thread David Powell
Some time before the release of Clojure 1.0, there didn't used to be any such thing as an empty sequence. You either had a (lazy) sequence, or nil. This made it easy to use sequences as emptiness tests, but had the cost that a lazy sequence wasn't fully lazy because anything that returned one

Re: was there a time when clojure empty seqs were falsy?

2013-02-25 Thread Jim - FooBar();
I see... thanks a lot! :-) Jim On 25/02/13 12:34, David Powell wrote: Some time before the release of Clojure 1.0, there didn't used to be any such thing as an empty sequence. You either had a (lazy) sequence, or nil. This made it easy to use sequences as emptiness tests, but had the cost

Re: was there a time when clojure empty seqs were falsy?

2013-02-25 Thread Meikel Brandmeyer (kotarak)
shameless plug I talked about the history of lazy-seq and friends at the EuroClojure 2012: http://vimeo.com/channels/357487/45561410 /shameless plug Kind regards Meikel -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Clojure Performance For Expensive Algorithms

2013-02-25 Thread Geo
This is pretty neat. Thanks! Yeah the swapping of prev and curr seems to be a stumbling block. On Sunday, February 24, 2013 6:08:39 PM UTC-5, Aria Haghighi wrote: I have a solution (gist here https://gist.github.com/aria42/5026109, key bits pasted below). It's pretty short (15 lines) and

ClojureScript js-clj not converting

2013-02-25 Thread Mike Longworth
I've updated to 0.0-1586 build #22 from a much older release: 0.0-1450 I'm now geting a problem with (js-clj token) not converting the object I don't think the problem is with js-clj: (println (expose token true)) gives: access_token =

Re: ClojureScript js-clj not converting

2013-02-25 Thread David Nolen
Are you expecting token to get converted into a ClojureScript map? On Mon, Feb 25, 2013 at 11:23 AM, Mike Longworth m...@mikelongworth.co.ukwrote: I've updated to 0.0-1586 build #22 from a much older release: 0.0-1450 I'm now geting a problem with (js-clj token) not converting the object I

ANN Titanium 1.0.0-alpha2 is released

2013-02-25 Thread Michael Klishin
Titanium [1] is a powerful Clojure graph library that is built on top of Aurelius Titan. It combines a Clojure-friendly API and graph processing DSL with the power of Titan. alpha2 release notes: http://blog.clojurewerkz.org/blog/2013/02/25/titanium-1-dot-0-0-alpha2-is-released/ 1.

Re: [ANN] clj-toml 0.2.0

2013-02-25 Thread Armando Blancas
Glad to see Kern being useful. Your parser uses those combinators quite effectively. On Monday, February 25, 2013 1:26:26 AM UTC-8, Luca Antiga wrote: Quick announcement: clj-toml 0.2.0 is available on Clojarshttps://clojars.org/clj-toml . clj-toml https://github.com/lantiga/clj-toml is a

Support for pmap?

2013-02-25 Thread MC Andre
Does ClojureScript support pmap? -- -- 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

ClojureScript browser REPL goes bonkers after it evals

2013-02-25 Thread Bobby Wang
Hi, Sometimes when I start the CLJS browser REPL and evaluate something like js/alert, the alert runs fine, but after a few seconds it goes into an infinite loop while repeatedly printing *ClojureScript:cljs.user java.io.IOException: Write end dead*. The same thing happens on ClojureScript

Re: Clojure Performance For Expensive Algorithms

2013-02-25 Thread bernardH
Hi, Nice solution, but don't we need to distinguish between the array types ? (cf. inline comment below ) Cheers, B. On Monday, February 25, 2013 12:08:39 AM UTC+1, Aria Haghighi wrote: […] Here, I think it's a macro you'll probably use all over the place, arr-max, which will find the

Re: Support for pmap?

2013-02-25 Thread David Nolen
Not sure how we could given JS is single threaded. On Monday, February 25, 2013, MC Andre wrote: Does ClojureScript support pmap? -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: ClojureScript browser REPL goes bonkers after it evals

2013-02-25 Thread Bobby Wang
Update: this seems to only happen if I start the CLJS REPL inside a CLJ REPL. If I start straight from the command line (ie. lein trampoline cljsbuild repl-listen) it's fine. On Monday, 25 February 2013 19:22:06 UTC-5, Bobby Wang wrote: Hi, Sometimes when I start the CLJS browser REPL and