This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-15
Channels
- # aatree (23)
- # admin-announcements (13)
- # announcements (3)
- # beginners (49)
- # boot (50)
- # braid-chat (1)
- # braveandtrue (37)
- # cider (72)
- # cljs-dev (25)
- # cljsjs (6)
- # cljsrn (37)
- # clojure (78)
- # clojure-berlin (8)
- # clojure-greece (1)
- # clojure-ireland (2)
- # clojure-madison (14)
- # clojure-new-zealand (2)
- # clojure-poland (10)
- # clojure-russia (149)
- # clojured (2)
- # clojurescript (49)
- # community-development (6)
- # core-async (37)
- # cursive (1)
- # data-science (1)
- # datomic (30)
- # emacs (4)
- # euroclojure (1)
- # funcool (1)
- # graclj (1)
- # hoplon (17)
- # jobs (2)
- # jobs-rus (45)
- # ldnclj (6)
- # mount (12)
- # off-topic (124)
- # om (270)
- # onyx (131)
- # parinfer (70)
- # perun (2)
- # proton (168)
- # re-frame (32)
- # reagent (29)
- # ring-swagger (8)
- # testing (9)
- # yada (39)
If I send a string with #my.lib.Record{:id “1”}
and cljs.reader/read-string
it, how do I refer to my.lib.Record
such that I don’t get a “could not find tag parser” error?
How do you register a tag handler? Where is this magic document I seem to need to read? ;)
This fails for me when match is a regexp because "source" is from the prototype. Any ideas whats going wrong?
@deas might be related to this
I got some good advice here to upgrade my cljs installation based on the above issue and it solved it
@clumsyjedi: Thanks, seems like its CLJS-1072 striking on modern browsers.
Hi all, we're very close to having core.matrix working in ClojureScript. Was wondering if anyone with a data science interest and ClojureScript expertise would be willing to give it a try?
@mikera: hi, there's a project at work that may well need this...it's something I'm already using core.matrix for but it might need to work in the browser also
Cool - any testing / feedback you can give would be great! I'm not much of a ClojureScript expert myself, so any testing in the field would be much appreciated
@mikera: thanks will do
it is normal that CLJS code in .cljc files takes longer to compile?
especially on reload with figwheel?
I’m happy to introduce klipse
a cljs complier and evaluator. http://app.gadjett.com/cljs_compiler/index-dev.html
It’s a kind of repl that allows you:
1. to eval pieces of code
2. inspect the javascript generated by clojurescript
feedbacks are welcome
@viebel: looks nice, but what's the point of having both results of cljs and js evaluation? they'll be the same
also it's not clear how to start evaluating (I assumed C-RET but that was just a guess, I had no idea from the site)
thanks @bronsa for the ctrl-enter
cljs
and js
are not the same. Try (map inc ‘(1 2 3))
@bronsa: any other feedback?
please share it with your friends
is there a way to dynamically create test
s without macros? e.g. I have a vector of test data, and I want to deftest
for each so that they can fail independently. I looked into deftest
s source and it requires an interned var, which I can’t generate without macros afaik. Is there a better way to address this case?
@jaredly: in my boot patch I was just initializing the counters, then executing is
statements (which update them) and then collecting results...I know not nice but it can be done without macros
wait a sec
you need to create a ref
then increment the :test
count -> https://github.com/arichiardi/boot/commit/954ed0b8e2e01f08a7cc822ad32c252d0f71d1d7#diff-e43a6ef0e089c00510c7f2a919d3fa30R233
there is a lot of boot
stuff I know
then the report is in *report-counters*
-> https://github.com/arichiardi/boot/commit/954ed0b8e2e01f08a7cc822ad32c252d0f71d1d7#diff-e43a6ef0e089c00510c7f2a919d3fa30R231
"test" tasks can include anything, are
, is
, whateva
in there I am running tests in parallel too 😄
Nevermind: found this: http://stackoverflow.com/questions/2486752/in-clojure-how-to-define-a-variable-named-by-a-string