This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-16
Channels
- # beginners (1)
- # boot (69)
- # carry (1)
- # cider (29)
- # cljs-dev (17)
- # cljsrn (100)
- # clojure (13)
- # clojure-austin (13)
- # clojure-brasil (1)
- # clojure-dev (1)
- # clojure-korea (3)
- # clojure-russia (3)
- # clojure-spec (20)
- # clojure-uk (5)
- # clojurescript (45)
- # cloverage (3)
- # datomic (5)
- # figwheel (1)
- # hoplon (198)
- # klipse (25)
- # lein-figwheel (2)
- # leiningen (3)
- # off-topic (35)
- # om (7)
- # om-next (2)
- # onyx (8)
- # proton (8)
- # re-frame (3)
- # untangled (1)
- # vim (13)
Hi, I'm trying to create a list size goal with core.logic. I'm not sure this is actually possible with CLP, but I thought I would try. However, my current attempt never halts when I run it. My code here https://gist.github.com/Hamled/b74746e45d99c4fd2dc76ee9a2b8eec8 Any suggestions on how to implement it correctly would be appreciated.
How do dynamic vars like print-length work?
They can be set with set!
and the definition seems to just be (def ^:dynamic *print-length* nil)
.
When I make my own like that and try to use set!
I can only do it from within a (binding ...)
scope.
hi all. what's your favourite way of mapping over the values in a map? I've seen map-vals
type functions all over the place. What's your favourite dependcy for this stuff?
@triss This is an overkill but look at specter
if you need more than just map-values: https://github.com/nathanmarz/specter
@yonatanel ah spectre
looks very cool... might spend sometime learning that at some point.
@sofra great question. I expect the answer is: the REPL already runs within a binding context
@maximgb Did you try ClojureFX yet? It could help. https://bitbucket.org/zilti/clojurefx
@sofra https://github.com/clojure/clojure/blob/f572a60262852af68cdb561784a517143a5847cf/src/clj/clojure/main.clj#L65
was it no-disassemble?