This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-09
Channels
- # beginners (108)
- # boot (14)
- # cider (8)
- # clara (13)
- # cljs-dev (63)
- # cljsrn (5)
- # clojure (57)
- # clojure-brasil (1)
- # clojure-italy (69)
- # clojure-losangeles (10)
- # clojure-nl (6)
- # clojure-poland (2)
- # clojure-spec (6)
- # clojure-uk (50)
- # clojurescript (116)
- # core-async (1)
- # cursive (9)
- # data-science (8)
- # datascript (4)
- # datomic (43)
- # duct (2)
- # editors (1)
- # fulcro (29)
- # instaparse (7)
- # jobs (6)
- # keechma (3)
- # mount (16)
- # off-topic (61)
- # om (10)
- # onyx (5)
- # parinfer (17)
- # pedestal (2)
- # portkey (5)
- # quil (2)
- # re-frame (84)
- # reagent (9)
- # remote-jobs (2)
- # ring-swagger (2)
- # shadow-cljs (17)
- # slack-help (1)
- # tools-deps (29)
- # vim (23)
Quil newbie here. How do I access the state of a Quil sketch from the REPL? I create a new project with lein new quil quiltest
. I change the frame rate to 0.1 using (q/frame-rate 0.1)
to slow things down. In cider
I run (-main)
. Now, I want to find out what the state is. I tried adding (println "state:" state)
in the draw
function, but I get the following error error in process filter: nrepl--dispatch-response: [nREPL] No response handler with id nil found
. Probably has something to do with how cider interacts with the stdout of the inferior clojure process. I then tried (q/state-atom)
in the REPL buffer, but I get nil
. Is there a way to inspect the state of the sketch. Ideally, from the REPL?