[ClojureScript] [ANN][book] Clojure Reactive Programming

2015-03-24 Thread Leonardo Borges
Hi all, Some of you may know that I have been working on a book for the better part of last year. I'm happy to announce it has finally been published! Here's the link: https://www.packtpub.com/web-development/clojure-reactive-programming I hope you find it useful! I've had a great time

[ClojureScript] Re: Macros and type hints

2015-03-24 Thread Thomas Heller
Question: why exactly is this type hint needed when js/goog.DEBUG is used in an if? As far as I can see, js/goog.DEBUG is a boolean already. Short answer: We don't evaluate or parse any Javascript when compiling ClojureScript. That means we don't know about goog.DEBUG and what type it

Re: [ClojureScript] porting clojure.pprint to clojurescript

2015-03-24 Thread David Nolen
Shaun LeBron has also started on this https://github.com/shaunlebron/cljs-pprint. I think it's probably best if people with CAs join forces on this one. David On Mon, Mar 23, 2015 at 11:49 PM, Jonathan Boston bosto...@gmail.com wrote: TLDR; Initial port of clojure.pprint to clojurescript:

[ClojureScript] Re: Getting started with cljs.test

2015-03-24 Thread Andrew Keedle
On Friday, 19 December 2014 11:31:16 UTC, Andrew Keedle wrote: Simple post and sample project about getting started with cljs.test (using phantomjs). http://keeds.github.io/clojurescript/2014/12/19/cljs-test.html I've added an updated post about a fix to reporting success/failure from

[ClojureScript] Re: [ANN] Synthread with Clojurescript support

2015-03-24 Thread Leon Grapenthin
On Tuesday, March 24, 2015 at 9:48:23 PM UTC+1, myguidingstar wrote: Hi all, I've just ported this very interesting library to Clojurescript (and Boot build tool, too) I hope your Clojurescript code will be much more expressive with it! https://github.com/myguidingstar/synthread I just

Re: [ClojureScript] Re: Macros and type hints

2015-03-24 Thread Alex Eberts
There's also this introduction to Clojure macros presentation by Gary Fredericks from Clojure West 2013: http://www.infoq.com/presentations/macros-clojure-west-2013 HTH, Alex On Tuesday, March 24, 2015 at 10:10:31 AM UTC-4, marc fawzi wrote: looks like magic to a beginner, trying to parseĀ 

[ClojureScript] Re: [ANN] Synthread with Clojurescript support

2015-03-24 Thread myguidingstar
On Wednesday, March 25, 2015 at 5:37:59 AM UTC+7, Leon Grapenthin wrote: This seems like a thoughtful port. In your announcement, you should have mentioned that you have ported the library to CLJX, not just ClojureScript. You're right I hope that either the LonoCloud developers will merge and

[ClojureScript] Re: Macros and type hints

2015-03-24 Thread AndyR
On Tuesday, March 24, 2015 at 7:21:32 AM UTC-4, Thomas Heller wrote: Question: why exactly is this type hint needed when js/goog.DEBUG is used in an if? As far as I can see, js/goog.DEBUG is a boolean already. Short answer: We don't evaluate or parse any Javascript when compiling

[ClojureScript] [ANN] Synthread with Clojurescript support

2015-03-24 Thread myguidingstar
Hi all, I've just ported this very interesting library to Clojurescript (and Boot build tool, too) I hope your Clojurescript code will be much more expressive with it! https://github.com/myguidingstar/synthread -- Note that posts from new members are moderated - please be patient with your

[ClojureScript] Re: Macros and type hints

2015-03-24 Thread Mike Thompson
On Monday, March 23, 2015 at 6:58:27 PM UTC+11, Mike Thompson wrote: I have a macro: (defmacro m [x] `(if-not ^boolean js/goog.DEBUG ~x));;; NOTICE the type hint I use it: (macroexpand-1 '(m blah)) ;; = (clojure.core/if-not js/goog.DEBUG blah) Notice how the type hint