This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-06
Channels
- # announcements (2)
- # architecture (2)
- # aws (18)
- # babashka (7)
- # beginners (149)
- # bristol-clojurians (4)
- # calva (11)
- # chlorine-clover (1)
- # cider (8)
- # clj-kondo (2)
- # cljdoc (2)
- # cljsrn (2)
- # clojure (186)
- # clojure-canada (3)
- # clojure-europe (3)
- # clojure-gamedev (5)
- # clojure-italy (1)
- # clojure-nl (13)
- # clojure-norway (4)
- # clojure-spec (25)
- # clojure-uk (32)
- # clojurescript (75)
- # core-async (2)
- # cursive (16)
- # data-science (3)
- # datomic (20)
- # docker (1)
- # emacs (26)
- # fulcro (7)
- # graphql (1)
- # incanter (1)
- # leiningen (1)
- # luminus (7)
- # malli (7)
- # mount (11)
- # off-topic (19)
- # pathom (15)
- # re-frame (9)
- # reagent (9)
- # remote-jobs (4)
- # ring-swagger (4)
- # shadow-cljs (63)
- # spacemacs (11)
- # sql (2)
- # vscode (7)
is there a way to have the destructuring recognized in the more-of
form of the clojure-expectations
library?
https://clojure-expectations.github.io/templating.html
my use-case looks like this:
(more-of {:keys [txn-eid tag-eid]}
some-txn-eid txn-eid
(entid [:tag/name "tag"]) tag-eid)
can i use the Specify...
choice somehow in this case?Hello, this may have been asked before but I can't find any resources online. How do I get Cursive to recognise node modules?
Is there a way to “print” forms to a Cursive REPL such that they will be formatted the same as when one directly sends a form to the repl from the editor? (if I run (pprint some-thing)
, it ends up printed in a single line)
I also tried https://github.com/razum2um/aprint, it too results in a one-line print
it prints nicely if I send the form (aprint a-thing)
to the repl, but not if (aprint a-thing)
is evaluated from my program
Further searching into the wormhole leads me to believe this has more to do with clj logging config than cursive
i used https://github.com/kkinnear/zprint with some success. i even customized it's color scheme to make it more readable on the light intellij theme. unfortunately the ansi escapes are sometimes leak out in the output, but still pretty usable within cursive.
if it's for debugging, https://github.com/weavejester/hashp could also be an option, I'm literally using it right now