Closed chpill closed 6 years ago
Hi @chpill, maybe I'm not making it apparent enough, but in ClojureScript you need to write (sc.api/letsc [1 -1] ...)
instead of just (sc.api/letsc 1 ...)
, see this section in the tutorial: https://github.com/vvvvalvalval/scope-capture/blob/master/doc/Tutorial.md#usage-from-clojurescript
Can you tell me if this solves your issue?
It does indeed, thanks for the clarification!
So, are the warnings during the cljs compilations normal?
@chpill I wouldn't call the warnings normal, rather they're a (somewhat harmless) artifact of my poor mastery of CLJC.
@chpill opened a new issue about the warnings https://github.com/vvvvalvalval/scope-capture/issues/18, and closing this one.
If you want to give it a shot ;)
Hi val!
I've been trying to use this library (finally!), but I've encountered some issues with clojurescript. The page on the pitfalls of cljs repls states that using the REPL provided by figwheel should be okay. Unfortunately I could not get it to work. I've set up a minimal case to show the issue I encountered here https://github.com/chpill/cljs-sc-test.
TL;DR I end up having those seemingly contradictory results at the REPL:
Any idea what might be going wrong?