Clojurians
#cljs-dev
<
2017-12-03
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

richiardiandrea18:12:46

historically cljs has followed clj behavior, so I was trying to understand whether this breaks it

richiardiandrea19:12:45

@rauh It looks like the same happens in clojure:

boot.user=> (into (make-array Integer/TYPE 100) (map inc) (range 10))

java.lang.ClassCastException: [I cannot be cast to clojure.lang.IPersistentCollection

levitanong22:12:02

Is there a way to have a cljs repl like lumo or planck run a version of cljs that you just built?

levitanong22:12:44

I suppose I can just clone lumo and build it with the new version. lol

mfikes22:12:08

@levitanong Right. Both Lumo and Planck embed ClojureScript in their binary. For Planck, you can build it with a version of ClojureScript that you just built by specifying CLJS_VERSION like

CLJS_VERSION=1.9.908 script/build

mfikes22:12:43

(These questions are more appropriate for #lumo and #planck while this channel is really for the development of ClojureScript proper.)

levitanong22:12:16

@mfikes right, sorry about that!