Re: [ClojureScript] [ANN] Expectations v2.1.1

2015-04-16 Thread Ivan Mikushin
You can get a feel of it just by looking at the 10sec example here: http://jayfields.com/expectations/ -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group.

[ClojureScript] [ANN] Expectations v2.1.1

2015-04-16 Thread Ivan Mikushin
Expectations v2.1.1 has just been released with support for ClojureScript. Expectations is a Clojure(Script) testing framework where your tests are written in the following manner: (expect 4 (+ 2 2)) Check it out: https://github.com/jaycfields/expectations/blob/master/CHANGELOG.md Cheers ;

Re: [ClojureScript] [ANN] Expectations v2.1.1

2015-04-16 Thread Ivan Mikushin
Also, expectations colorizes the output, so it looks very nice and highlights important information. As advertized, adding signal, removing noize ;) You can try it for yourself, just by cloning the repo (https://github.com/jaycfields/expectations) and running: lein do clean, cljx, cljsbuild

[ClojureScript] Arbitrary compile time var metadata

2015-02-18 Thread Ivan Mikushin
Only compile time metadata is possible for ClojureScript vars now. And that's perfectly fine. What would be cool is to be able to add arbitrary keys to it. That'd still be immutable metadata only added at compile time. Unfortunately, it's ignored now: ClojureScript:cljs.user (defn

Re: [ClojureScript] Bug: lost metadata about macro-produced vars with names containing generated symbols

2015-02-18 Thread Ivan Mikushin
Update: the cause of the above weirdness is... Macros are evaluated at least twice per macro usage (application) during compilation. I guess, maybe once for a namespace where it originally occurs and at least once per that namespace require. So: - If there are any side effects in the macro

[ClojureScript] Bug: lost metadata about macro-produced vars with names containing generated symbols

2015-02-18 Thread Ivan Mikushin
Hi, I'm porting expectations (https://github.com/jaycfields/expectations) to ClojureScript and may have encountered a compiler bug along the way. An expectations test looks like this: (expect expected actual), where expect is a macro that produces a def with a generated symbol as its name.

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-2301, Transducers!

2014-08-11 Thread Ivan Mikushin
The same issue (and workaround) applies to clojurescript-0.0.2311 -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups ClojureScript group. To unsubscribe from this group and