Fork me on GitHub
#beginners
<
2016-12-25
>
svenhuster15:12:39

Hey. Happy holidays. I'm trying my luck with cljs, re-frame, figwheel and cider. Got everything going using the leiningen re-frame template (+cider +test +re-frisk). Hot loading works great. Can jack-in from cider etc. I'm missing it to be able to run my tests from emacs (if that's appropriate). What's the right way to run theses in this environment?

dpsutton15:12:15

does running C-c C-t p not run all tests in your project?

svenhuster16:12:20

@dpsutton I get this: ‘cider-test-run-project-tests’ doesn’t support ClojureScript

tosh16:12:09

i think today I found the first thing in clojure that was unintuitive to me (apply and [true true true]) yields CompilerException java.lang.RuntimeException: Can't take value of a macro: #‘clojure.core/and is there a reason why and is implemented as a macro?

pkova17:12:31

the short-circuiting nature of and would be impossible otherwise, since if and was a function all arguments would be evaluated before it is called

tosh18:12:54

@pkova oh makes sense, ty!