Re: clojurescript failing silently?

2012-07-06 Thread kovas boguta
In this particular case it looks like read-string is failing silently, and stopping the execution of my program. Which to me looks like it throws an exception that gets eaten somewhere. The odd thing is, when I evaluate the same input at the js repl in the terminal, it works. So now there are

Re: clojurescript failing silently?

2012-07-06 Thread kovas boguta
I found the bug in my program. I was calling a function that didn't exist in the given namespace. (this is called on startup) Just to confirm, the expected behavior is that this will produce a stacktrace in the js console? I can try using git bisect if this is supposed to work. On Fri, Jul 6,

Re: Clojure Sticker

2012-07-06 Thread dmirylenka
+1 On Sunday, June 10, 2012 3:03:46 AM UTC+2, aboy021 wrote: Is there anywhere that I can get a Clojure sticker? -- 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

Re: Clojure Sticker

2012-07-06 Thread Jerry
+1. Can it be shipped to China? On Thu, Jul 5, 2012 at 9:40 AM, David Della Costa ddellaco...@gmail.comwrote: +1, wants sticker. 2012/7/4 Eric Scrivner e...@grapheffect.com: +1 I was just looking for this the other day and was disappointed to find I could only get a t-shirt. On

critique my code!

2012-07-06 Thread William Morgan
Hello all, Clojure n00b here. As a means of learning Clojure, I wrote a little Mustache templating code. (I do realize Clojure libraries for this exist already.) The last time I wrote any Lisp was a decade ago, so any general advice would be appreciated. Here's the gist:

Re: ClojureScript instead of CoffeeScript for complete web app development?

2012-07-06 Thread László Török
Hi, using the reducers library also eliminates the per-step allocation of temporary results when the processing code is composed of multiple functions, AFAIK. Las 2012/7/4 Balint Erdi balint.e...@gmail.com Hey, AFAIK the clojure reducers library gains its performance boost since the

mutual reference in FP style

2012-07-06 Thread Warren Lynn
Can someone help me figure out how I can have two data structures to refer to each other in functional programing style? I mean something like double linked list, or in a tree where each node keeps a reference to its parent and children. What puzzles me is, as soon as you update the reference

Re: Help a newbie with his first babysteps... Understanding a function.

2012-07-06 Thread Sean Corfield
On Fri, Jul 6, 2012 at 1:55 AM, Jacobo Polavieja jacobopolavi...@gmail.com wrote: I know this is going very offtopic, but why did you use let define in-matrix? instead of a defn? def and defn are for top-level definitions. let is for local definitions. Specifically def and defn create a Var in