This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-21
Channels
- # admin-announcements (80)
- # beginners (19)
- # boot (11)
- # cider (27)
- # clojure (55)
- # clojure-berlin (2)
- # clojure-italy (9)
- # clojure-korea (3)
- # clojure-russia (3)
- # clojure-sg (5)
- # clojurescript (70)
- # cursive (9)
- # datascript (5)
- # datomic (7)
- # editors (2)
- # emacs (4)
- # jobs (11)
- # ldnclj (7)
- # off-topic (17)
- # om (6)
- # reagent (63)
- # spacemacs (8)
- # testing (2)
hey, sorry if this is a silly question, but is there a way to clear/reset a namespace in an nrepl just by sending a message to it?
are old defs lying around just not a concern then? trying to figure out efficient dev processes
what do you mean by old defs? like things you define while developing in the repl and redefine then later or maybe let unused?
i’m making a bundle for my editor to send the current s-exp via nrepl and then display the results, like cursive can do
so i was concerned that sending a lot of defs would eventually cause weird bugs in my code because the old ones would still be around
but i’m relatively inexperienced so it might be needless worrying
I remember reading in this channel about a better alternative to Prismatic Schema to do validation of the shape of data structures, but my google-fu is failing me. Anyone?
seems like there are many things to choose from on http://www.clojure-toolbox.com/
can someone explain the following wont work?:
#(-> %
:body
xml/parse
#(filter (fn [{:keys [tag]}]
(= tag :publicKey)) %)
first)
I like https://github.com/roomkey/annotate but it doesn't support CLJS yet at least
so this appears fine for me now: (set! (.-innerHTML (.-body js/document)) (md->html "\n- l1\n- l2\n- l3\n\nparagraph"))
So regarding md->html, just removed markdown at all from .m2/repository, and when I ran figwheel again it downloaded both .65 and .69. lein deps :tree
doesn’t show me anything that depends on .65. Any ideas?
although interestingly I get something similar Retrieving markdown-clj/markdown-clj/0.9.54/markdown-clj-0.9.54.pom from clojars Retrieving markdown-clj/markdown-clj/0.9.69/markdown-clj-0.9.69.pom from clojars Retrieving markdown-clj/markdown-clj/0.9.69/markdown-clj-0.9.69.jar from clojars
The only two on ~/.lein/profiles are lein-try and uberimage, which don’t seem to reference markdown.
does this end up rendering correctly? (set! (.-innerHTML (.-body js/document)) (md->html "\n- l1\n- l2\n- l3\n\nparagraph"))
Can I get the version of a loaded namespace? meta
seems to only return added metadata.
That chapter of http://clojure-doc.org is empty. 😛
I guess namespaces aren’t necessarily tagged with the version of the project that library provides them…