Mocha and Chai wrappers for ClojureScript testing

2013-05-24 Thread jkrueger
Hi, I would like to announce two wrappers that we developed for ClojureScript testing. They provide support for Mocha and Chai respectively. The wrappers play well with testing setups on node and in the browser (or in headless setups v

Re: Sorting of function definitions in namespaces

2011-02-10 Thread jkrueger
On Feb 10, 9:33 pm, Meikel Brandmeyer wrote: > Hi, > > Am 10.02.2011 um 16:27 schrieb jkrueger: > > > a) This is essential to writing understandable code, so it would be > > nice if the language supported it out of the box > > Is that so? I'd rather say th

Re: Sorting of function definitions in namespaces

2011-02-10 Thread jkrueger
> user=> (defmacro dotopdown [& body] `(do ~@(reverse body))) > #'user/dotopdown > user=> (dotopdown (defn abstract [a] (helper a)) (defn helper [a] (str a))) > #'user/abstract > user=> (abstract 30) > "30" > > ;) > > 2011/2/9 jkrueger

Sorting of function definitions in namespaces

2011-02-09 Thread jkrueger
When writing a Clojure namespace very often I would like to sort my functions according to level of abstraction, starting with the most abstract functions, followed by helper functions to the more abstract functions, and so on. This way of organizing code is promoted as good style by the Clean Code